pub struct Command {
pub title: String,
pub command: String,
pub arguments: Option<Vec<Value>>,
}
Expand description
Command for completion items
Fieldsยง
ยงtitle: String
ยงcommand: String
ยงarguments: Option<Vec<Value>>
Trait Implementationsยง
Sourceยงimpl<'de> Deserialize<'de> for Command
impl<'de> Deserialize<'de> for Command
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 StructuralPartialEq for Command
Auto Trait Implementationsยง
impl Freeze for Command
impl RefUnwindSafe for Command
impl Send for Command
impl Sync for Command
impl Unpin for Command
impl UnwindSafe for Command
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