pub struct TabLink {
pub key: String,
pub active: bool,
pub count: Option<u64>,
pub href: String,
}Expand description
One tab of a list’s tab bar.
Fields§
§key: StringThe tab’s ?tab= key.
active: boolWhether the list shows this tab.
count: Option<u64>The rows the tab holds, when it shows a badge.
href: StringWhere the tab links.
Trait Implementations§
impl Eq for TabLink
impl StructuralPartialEq for TabLink
Auto Trait Implementations§
impl Forget for TabLink
impl Freeze for TabLink
impl RefUnwindSafe for TabLink
impl Send for TabLink
impl Sync for TabLink
impl Unpin for TabLink
impl UnsafeUnpin for TabLink
impl UnwindSafe for TabLink
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.