CellValue
CellValue
Prezentare generală
CellValue este un enum în Aspose.Cells FOSS pentru Rust. Moștenește de la: Debug, Clone, PartialEq.
Acest enum declară 8 metode pentru obiecte CellValue în programe Rust. Metodele disponibile includ: as_bool, as_datetime, as_f64, as_i32, as_i64, as_str, as_string, get_type. Membrii publici sunt accesibili oricărei aplicații Rust după instalarea pachetului Aspose.Cells FOSS pentru Rust.
Valori
| Valoare | Descriere: |
|---|---|
String | |
Number | |
Bool | |
DateTime | |
Error | |
Formula | |
Empty |
Metode
| Semnătură | Descriere: |
|---|---|
get_type() → CellValueType | Returnează tipul. |
as_i32() → Option<i32> | Apelează as_i32 pe această instanță de CellValue. |
as_i64() → Option<i64> | Apelează as_i64 pe această instanță de CellValue. |
as_f64() → Option<f64> | Apelează as_f64 pe această instanță de CellValue. |
as_bool() → Option<bool> | Apelează as_bool pe această instanță CellValue. |
as_datetime() → Option<DateTime<Utc>> | Apelează as_datetime pe această instanță CellValue. |
as_str() → Option<&str> | Apelează as_str pe această instanță CellValue. |
as_string() → Option<String> | Apelează as_string pe această instanță CellValue. |