CellValue

Overview

CellValue is a enum in Aspose.Cells FOSS for Rust. Inherits from: Debug, Clone, PartialEq.

This enum provides 8 methods for working with CellValue objects in Rust programs. Available methods include: as_bool, as_datetime, as_f64, as_i32, as_i64, as_str, as_string, get_type. All public members are accessible to any Rust application after installing the Aspose.Cells FOSS for Rust package.

Values

ValueDescription
String
Number
Bool
DateTime
Error
Formula
Empty

Methods

SignatureDescription
get_type()CellValueTypeReturns the type.
as_i32()Option<i32>Calls as_i32 on this CellValue instance.
as_i64()Option<i64>Calls as_i64 on this CellValue instance.
as_f64()Option<f64>Calls as_f64 on this CellValue instance.
as_bool()Option<bool>Calls as_bool on this CellValue instance.
as_datetime()Option<DateTime<Utc>>Calls as_datetime on this CellValue instance.
as_str()Option<&str>Calls as_str on this CellValue instance.
as_string()Option<String>Calls as_string on this CellValue instance.

See Also