CellValue
CellValue
Áttekintés
CellValue egy enum a Aspose.Cells FOSS Rust-hoz. Örökli: Debug, Clone, PartialEq.
Ez az enum 8 metódust deklarál a CellValue objektumok számára Rust programokban. A rendelkezésre álló metódusok: as_bool, as_datetime, as_f64, as_i32, as_i64, as_str, as_string, get_type. A nyilvános tagok elérhetők bármely Rust alkalmazás számára a Aspose.Cells FOSS for Rust csomag telepítése után.
Értékek
| Érték | Leírás |
|---|---|
String | |
Number | |
Bool | |
DateTime | |
Error | |
Formula | |
Empty |
Metódusok
| Aláírás | Leírás |
|---|---|
get_type() → CellValueType | Visszaadja a típust. |
as_i32() → Option<i32> | Meghívja a as_i32 metódust ezen a CellValue példányon. |
as_i64() → Option<i64> | Meghívja a as_i64 metódust ezen a CellValue példányon. |
as_f64() → Option<f64> | Meghívja a as_f64 metódust ezen a CellValue példányon. |
as_bool() → Option<bool> | Meghívja a(z) as_bool ezen CellValue példányon. |
as_datetime() → Option<DateTime<Utc>> | Meghívja a(z) as_datetime ezen CellValue példányon. |
as_str() → Option<&str> | Meghívja a(z) as_str ezen CellValue példányon. |
as_string() → Option<String> | Meghívja a(z) as_string ezen CellValue példányon. |