pub struct Command {
pub id: String,
pub data: DataOrType,
pub returns: Option<Type>,
pub conditional: Option<Conditional>,
pub allow_oob: bool,
pub coroutine: bool,
pub boxed: bool,
pub success_response: bool,
pub allow_preconfig: bool,
pub features: Features,
pub gen: bool,
}
Fields§
§id: String
§data: DataOrType
§returns: Option<Type>
§conditional: Option<Conditional>
§allow_oob: bool
§coroutine: bool
§boxed: bool
§success_response: bool
§allow_preconfig: bool
§features: Features
§gen: bool
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
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