pub struct TabItem {
pub key: String,
pub label: String,
pub icon: Option<String>,
pub disabled: Option<Value>,
pub content: ComponentSchema,
}Expand description
Tab item.
Fields§
§key: String§label: String§icon: Option<String>§disabled: Option<Value>§content: ComponentSchemaTrait Implementations§
Source§impl<'de> Deserialize<'de> for TabItem
impl<'de> Deserialize<'de> for TabItem
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 Freeze for TabItem
impl RefUnwindSafe for TabItem
impl Send for TabItem
impl Sync for TabItem
impl Unpin for TabItem
impl UnwindSafe for TabItem
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