pub struct CommandMetadata {
pub name: String,
pub namespace: Option<String>,
pub has_common_parameters: Option<bool>,
pub command_type: Option<i32>,
pub parameters: Vec<ParameterMetadata>,
}Expand description
Describe one command returned by a metadata query.
Fields§
§name: String§namespace: Option<String>§has_common_parameters: Option<bool>§command_type: Option<i32>§parameters: Vec<ParameterMetadata>Trait Implementations§
Source§impl Clone for CommandMetadata
impl Clone for CommandMetadata
Source§fn clone(&self) -> CommandMetadata
fn clone(&self) -> CommandMetadata
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 CommandMetadata
impl Debug for CommandMetadata
Source§impl Default for CommandMetadata
impl Default for CommandMetadata
Source§fn default() -> CommandMetadata
fn default() -> CommandMetadata
Returns the “default value” for a type. Read more
Source§impl PartialEq for CommandMetadata
impl PartialEq for CommandMetadata
impl StructuralPartialEq for CommandMetadata
Auto Trait Implementations§
impl Freeze for CommandMetadata
impl RefUnwindSafe for CommandMetadata
impl Send for CommandMetadata
impl Sync for CommandMetadata
impl Unpin for CommandMetadata
impl UnsafeUnpin for CommandMetadata
impl UnwindSafe for CommandMetadata
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