pub struct ShellSidebarAction {
pub id: String,
pub placement: SidebarActionPlacement,
pub label: String,
pub icon: String,
pub disabled: bool,
}Fields§
§id: String§placement: SidebarActionPlacement§label: String§icon: String§disabled: boolImplementations§
Source§impl ShellSidebarAction
impl ShellSidebarAction
pub fn validate(self) -> ShellResult<Self>
Trait Implementations§
Source§impl Clone for ShellSidebarAction
impl Clone for ShellSidebarAction
Source§impl Debug for ShellSidebarAction
impl Debug for ShellSidebarAction
Source§impl<'de> Deserialize<'de> for ShellSidebarAction
impl<'de> Deserialize<'de> for ShellSidebarAction
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 ShellSidebarAction
Source§impl PartialEq for ShellSidebarAction
impl PartialEq for ShellSidebarAction
Source§impl Serialize for ShellSidebarAction
impl Serialize for ShellSidebarAction
impl StructuralPartialEq for ShellSidebarAction
Auto Trait Implementations§
impl Freeze for ShellSidebarAction
impl RefUnwindSafe for ShellSidebarAction
impl Send for ShellSidebarAction
impl Sync for ShellSidebarAction
impl Unpin for ShellSidebarAction
impl UnsafeUnpin for ShellSidebarAction
impl UnwindSafe for ShellSidebarAction
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