CellValue
CellValue
Gambaran Umum
CellValue adalah enum dalam Aspose.Cells FOSS untuk Rust. Mewarisi dari: Debug, Clone, PartialEq.
Enum ini mendeklarasikan 8 metode untuk objek CellValue dalam program Rust. Metode yang tersedia meliputi: as_bool, as_datetime, as_f64, as_i32, as_i64, as_str, as_string, get_type. Anggota publik dapat diakses oleh aplikasi Rust mana pun setelah menginstal paket Aspose.Cells FOSS untuk Rust.
Nilai
| Nilai | Deskripsi |
|---|---|
String | |
Number | |
Bool | |
DateTime | |
Error | |
Formula | |
Empty |
Metode
| Tanda Tangan | Deskripsi |
|---|---|
get_type() → CellValueType | Mengembalikan tipe. |
as_i32() → Option<i32> | Memanggil as_i32 pada instance CellValue ini. |
as_i64() → Option<i64> | Memanggil as_i64 pada instance CellValue ini. |
as_f64() → Option<f64> | Memanggil as_f64 pada instance CellValue ini. |
as_bool() → Option<bool> | Memanggil as_bool pada instance CellValue ini. |
as_datetime() → Option<DateTime<Utc>> | Memanggil as_datetime pada instance CellValue ini. |
as_str() → Option<&str> | Memanggil as_str pada instance CellValue ini. |
as_string() → Option<String> | Memanggil as_string pada instance CellValue ini. |