CellValue
CellValue
Przegląd
CellValue jest enumem w Aspose.Cells FOSS dla Rust. Dziedziczy po: Debug, Clone, PartialEq.
Ten enum deklaruje 8 metod dla obiektów CellValue w programach Rust. Dostępne metody to: as_bool, as_datetime, as_f64, as_i32, as_i64, as_str, as_string, get_type. Publiczne elementy są dostępne dla każdej aplikacji Rust po zainstalowaniu pakietu Aspose.Cells FOSS dla Rust.
Wartości
| Wartość | Opis |
|---|---|
String | |
Number | |
Bool | |
DateTime | |
Error | |
Formula | |
Empty |
Metody
| Sygnatura | Opis |
|---|---|
get_type() → CellValueType | Zwraca typ. |
as_i32() → Option<i32> | Wywołuje as_i32 na tej instancji CellValue. |
as_i64() → Option<i64> | Wywołuje as_i64 na tej instancji CellValue. |
as_f64() → Option<f64> | Wywołuje as_f64 na tej instancji CellValue. |
as_bool() → Option<bool> | Wywołuje as_bool na tej instancji CellValue. |
as_datetime() → Option<DateTime<Utc>> | Wywołuje as_datetime na tej instancji CellValue. |
as_str() → Option<&str> | Wywołuje as_str na tej instancji CellValue. |
as_string() → Option<String> | Wywołuje as_string na tej instancji CellValue. |