#[non_exhaustive]pub struct SummaryLayout {
pub title: String,
pub kind: String,
pub formula: Option<String>,
}Expand description
One column’s summary in a GridLayout.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.title: StringIts title.
kind: Stringcount, sum, average, min or max; empty for none.
formula: Option<String>The formula that takes the place of the kind.
Trait Implementations§
Source§impl Clone for SummaryLayout
impl Clone for SummaryLayout
Source§fn clone(&self) -> SummaryLayout
fn clone(&self) -> SummaryLayout
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 SummaryLayout
impl Debug for SummaryLayout
Source§impl Default for SummaryLayout
impl Default for SummaryLayout
Source§fn default() -> SummaryLayout
fn default() -> SummaryLayout
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SummaryLayoutwhere
SummaryLayout: Default,
impl<'de> Deserialize<'de> for SummaryLayoutwhere
SummaryLayout: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for SummaryLayout
Source§impl PartialEq for SummaryLayout
impl PartialEq for SummaryLayout
Source§impl Serialize for SummaryLayout
impl Serialize for SummaryLayout
impl StructuralPartialEq for SummaryLayout
Auto Trait Implementations§
impl Freeze for SummaryLayout
impl RefUnwindSafe for SummaryLayout
impl Send for SummaryLayout
impl Sync for SummaryLayout
impl Unpin for SummaryLayout
impl UnsafeUnpin for SummaryLayout
impl UnwindSafe for SummaryLayout
Blanket Implementations§
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
impl<T> Brush for T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more