Struct spreadsheet_ods::CellContent [−][src]
pub struct CellContent {
pub value: Value,
pub style: Option<String>,
pub formula: Option<String>,
pub validation_name: Option<String>,
pub span: CellSpan,
}Expand description
A copy of the relevant data for a spreadsheet cell.
Fields
value: ValueCell value.
style: Option<String>Cell stylename.
formula: Option<String>Cell formula.
validation_name: Option<String>Reference to a validation rule.
span: CellSpanCellspan.
Implementations
Sets the formula.
Resets the formula.
Sets the cell style.
Removes the style.
Returns the validation name.
Sets the validation name.
No validation.
Sets the row span of this cell. Cells below with values will be lost when writing.
Sets the column span of this cell. Cells to the right with values will be lost when writing.
Trait Implementations
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for CellContent
impl Send for CellContent
impl Sync for CellContent
impl Unpin for CellContent
impl UnwindSafe for CellContent
Blanket Implementations
Mutably borrows from an owned value. Read more