pub struct ColumnOptions {
pub format: Option<String>,
pub formula: Option<String>,
pub total: Option<String>,
}Expand description
One entry of a columns: map.
Fields§
§format: Option<String>An Excel number format code.
formula: Option<String>A row formula (={qty}*{price}), written in place of the column’s value, which becomes
its cached result.
total: Option<String>A totals row entry under the data: sum, average, count, min, max, or a formula
over whole columns (=SUM({amount:*})/COUNT({qty:*})).
Trait Implementations§
Source§impl Clone for ColumnOptions
impl Clone for ColumnOptions
Source§fn clone(&self) -> ColumnOptions
fn clone(&self) -> ColumnOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ColumnOptions
impl Debug for ColumnOptions
Source§impl Default for ColumnOptions
impl Default for ColumnOptions
Source§fn default() -> ColumnOptions
fn default() -> ColumnOptions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ColumnOptions
impl<'de> Deserialize<'de> for ColumnOptions
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ColumnOptions, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ColumnOptions, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ColumnOptions
impl PartialEq for ColumnOptions
Source§impl Serialize for ColumnOptions
impl Serialize for ColumnOptions
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for ColumnOptions
Auto Trait Implementations§
impl Freeze for ColumnOptions
impl RefUnwindSafe for ColumnOptions
impl Send for ColumnOptions
impl Sync for ColumnOptions
impl Unpin for ColumnOptions
impl UnsafeUnpin for ColumnOptions
impl UnwindSafe for ColumnOptions
Blanket Implementations§
impl<T> Allocation for T
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more