pub struct ShellActivator {
pub id: String,
pub label: String,
pub icon: String,
pub disabled: bool,
}Fields§
§id: String§label: String§icon: String§disabled: boolImplementations§
Source§impl ShellActivator
impl ShellActivator
pub fn validate(self) -> ShellResult<Self>
Trait Implementations§
Source§impl Clone for ShellActivator
impl Clone for ShellActivator
Source§fn clone(&self) -> ShellActivator
fn clone(&self) -> ShellActivator
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ShellActivator
impl Debug for ShellActivator
Source§impl<'de> Deserialize<'de> for ShellActivator
impl<'de> Deserialize<'de> for ShellActivator
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 ShellActivator
Source§impl PartialEq for ShellActivator
impl PartialEq for ShellActivator
Source§impl Serialize for ShellActivator
impl Serialize for ShellActivator
impl StructuralPartialEq for ShellActivator
Auto Trait Implementations§
impl Freeze for ShellActivator
impl RefUnwindSafe for ShellActivator
impl Send for ShellActivator
impl Sync for ShellActivator
impl Unpin for ShellActivator
impl UnsafeUnpin for ShellActivator
impl UnwindSafe for ShellActivator
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