pub struct Table {
pub key: String,
pub columns: Vec<Column>,
pub rows: Vec<IndexMap<String, Value>>,
pub total_rows: HashSet<usize>,
pub note: String,
pub notes: Vec<(String, String)>,
pub chart: Option<Value>,
}Expand description
One flat table with shared columns and raw rows.
Fields§
§key: String§columns: Vec<Column>§rows: Vec<IndexMap<String, Value>>§total_rows: HashSet<usize>§note: String§notes: Vec<(String, String)>§chart: Option<Value>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Forget for Table
impl Freeze for Tablewhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<Column>: Freeze,
PhantomData<IndexMap<String, Value>>: Freeze,
PhantomData<(usize, ())>: Freeze,
PhantomData<(String, String)>: Freeze,
NonZero<i32>: Freeze,
FixedOffset: Freeze,
PhantomData<Value>: Freeze,
PhantomData<usize>: Freeze,
PhantomData<Bucket<String, Value>>: Freeze,
impl Move for Table
impl RefUnwindSafe for Table
impl Send for Table
impl Sync for Table
impl Unpin for Table
impl UnsafeUnpin for Tablewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<Column>: UnsafeUnpin,
PhantomData<IndexMap<String, Value>>: UnsafeUnpin,
PhantomData<(usize, ())>: UnsafeUnpin,
PhantomData<(String, String)>: UnsafeUnpin,
NonZeroI32Inner: UnsafeUnpin,
FixedOffset: UnsafeUnpin,
PhantomData<Value>: UnsafeUnpin,
PhantomData<usize>: UnsafeUnpin,
PhantomData<Bucket<String, Value>>: UnsafeUnpin,
impl UnwindSafe for Tablewhere
RawVecInner: UnwindSafe,
NonZero<i32>: UnwindSafe,
FixedOffset: UnwindSafe,
NonNull<u8>: UnwindSafe,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more