pub struct TableWidgetColumnDto {
pub key: String,
pub label: String,
pub align: ColumnAlign,
pub badge_colors: BTreeMap<String, BadgeColor>,
}Expand description
One column in a compact dashboard table widget.
Fields§
§key: String§label: String§align: ColumnAlign§badge_colors: BTreeMap<String, BadgeColor>Trait Implementations§
Source§impl Clone for TableWidgetColumnDto
impl Clone for TableWidgetColumnDto
Source§impl Debug for TableWidgetColumnDto
impl Debug for TableWidgetColumnDto
Source§impl<'de> Deserialize<'de> for TableWidgetColumnDto
impl<'de> Deserialize<'de> for TableWidgetColumnDto
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
Auto Trait Implementations§
impl Forget for TableWidgetColumnDto
impl Freeze for TableWidgetColumnDtowhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
*const LeafNode<String, BadgeColor> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, BadgeColor)>>: Freeze,
impl Move for TableWidgetColumnDto
impl RefUnwindSafe for TableWidgetColumnDto
impl Send for TableWidgetColumnDtowhere
RawVecInner: Send,
NodeRef<Owned, String, BadgeColor, LeafOrInternal>: Send,
BoxRaw<(String, BadgeColor)>: Send,
impl Sync for TableWidgetColumnDtowhere
RawVecInner: Sync,
NodeRef<Owned, String, BadgeColor, LeafOrInternal>: Sync,
BoxRaw<(String, BadgeColor)>: Sync,
impl Unpin for TableWidgetColumnDto
impl UnsafeUnpin for TableWidgetColumnDtowhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const LeafNode<String, BadgeColor> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, BadgeColor)>>: UnsafeUnpin,
impl UnwindSafe for TableWidgetColumnDto
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<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> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<K> ForeignKey<K> for K
impl<K> ForeignKey<K> for K
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
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 moreSource§impl<T> IntoViewData for Twhere
T: Serialize,
impl<T> IntoViewData for Twhere
T: Serialize,
Source§fn into_view_data(self) -> ViewData
fn into_view_data(self) -> ViewData
Converts the value into view data.