pub struct CommandInfo {
pub display_level: DisplayLevel,
pub in_kind: CommandDataKind,
pub out_kind: CommandDataKind,
pub in_doc: Option<Cow<'static, str>>,
pub out_doc: Option<Cow<'static, str>>,
}Expand description
Static information about a command.
Fields§
§display_level: DisplayLevelThe display level of the command.
in_kind: CommandDataKindInput data kind.
out_kind: CommandDataKindOutput data kind.
in_doc: Option<Cow<'static, str>>Description for the input data.
out_doc: Option<Cow<'static, str>>Description for the output data.
Trait Implementations§
Source§impl Clone for CommandInfo
impl Clone for CommandInfo
Source§impl Debug for CommandInfo
impl Debug for CommandInfo
impl Eq for CommandInfo
Source§impl PartialEq for CommandInfo
impl PartialEq for CommandInfo
impl StructuralPartialEq for CommandInfo
Auto Trait Implementations§
impl Forget for CommandInfo
impl Freeze for CommandInfo
impl RefUnwindSafe for CommandInfo
impl Send for CommandInfo
impl Sync for CommandInfo
impl Unpin for CommandInfo
impl UnsafeUnpin for CommandInfo
impl UnwindSafe for CommandInfo
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