pub struct KiroCommandMeta {
pub input_type: Option<String>,
pub options_method: Option<String>,
pub local: bool,
}Expand description
Metadata for a Kiro command.
Fields§
§input_type: Option<String>“selection” requires a dropdown, “panel” needs special rendering.
options_method: Option<String>Extension method to call for options (e.g. kiro.dev/commands/model/options).
local: boolIf true, the command is purely local (e.g. /quit).
Trait Implementations§
Source§impl Clone for KiroCommandMeta
impl Clone for KiroCommandMeta
Source§fn clone(&self) -> KiroCommandMeta
fn clone(&self) -> KiroCommandMeta
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 KiroCommandMeta
impl Debug for KiroCommandMeta
Source§impl<'de> Deserialize<'de> for KiroCommandMeta
impl<'de> Deserialize<'de> for KiroCommandMeta
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 KiroCommandMeta
impl RefUnwindSafe for KiroCommandMeta
impl Send for KiroCommandMeta
impl Sync for KiroCommandMeta
impl Unpin for KiroCommandMeta
impl UnsafeUnpin for KiroCommandMeta
impl UnwindSafe for KiroCommandMeta
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