CellValue
CellValue
Genel Bakış
CellValue, Aspose.Cells FOSS for Rust içinde bir enum’dur. Şunlardan miras alır: Debug, Clone, PartialEq.
Bu enum, Rust programlarındaki CellValue nesneleri için 8 yöntem bildirir. Mevcut yöntemler şunlardır: as_bool, as_datetime, as_f64, as_i32, as_i64, as_str, as_string, get_type. Genel üyeler, Aspose.Cells FOSS for Rust paketini kurduktan sonra herhangi bir Rust uygulaması tarafından erişilebilir.
Değerler
| Değer | Açıklama |
|---|---|
String | |
Number | |
Bool | |
DateTime | |
Error | |
Formula | |
Empty |
Yöntemler
| İmza | Açıklama |
|---|---|
get_type() → CellValueType | Türü döndürür. |
as_i32() → Option<i32> | Bu CellValue örneğinde as_i32 çağırır. |
as_i64() → Option<i64> | Bu CellValue örneğinde as_i64 çağırır. |
as_f64() → Option<f64> | Bu CellValue örneğinde as_f64 çağırır. |
as_bool() → Option<bool> | Bu CellValue örneğinde as_bool çağırır. |
as_datetime() → Option<DateTime<Utc>> | Bu CellValue örneğinde as_datetime çağırır. |
as_str() → Option<&str> | Bu CellValue örneğinde as_str çağırır. |
as_string() → Option<String> | Bu CellValue örneğinde as_string çağırır. |