pub struct ExtensionCommand {
pub name: String,
pub description: String,
pub args: HashMap<String, Value>,
}Expand description
Command within an extension.
Fields§
§name: String§description: String§args: HashMap<String, Value>Trait Implementations§
Source§impl Clone for ExtensionCommand
impl Clone for ExtensionCommand
Source§fn clone(&self) -> ExtensionCommand
fn clone(&self) -> ExtensionCommand
Returns a duplicate of the value. Read more
1.0.0 · 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 ExtensionCommand
impl Debug for ExtensionCommand
Source§impl<'de> Deserialize<'de> for ExtensionCommand
impl<'de> Deserialize<'de> for ExtensionCommand
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 ExtensionCommand
impl RefUnwindSafe for ExtensionCommand
impl Send for ExtensionCommand
impl Sync for ExtensionCommand
impl Unpin for ExtensionCommand
impl UnwindSafe for ExtensionCommand
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