pub struct CommandTypeSpec {
pub name: String,
pub fields: Vec<FieldSpec>,
pub tags: BTreeMap<String, String>,
pub rest_trigger_allowed: bool,
}Fields§
§name: String§fields: Vec<FieldSpec>§rest_trigger_allowed: boolTrait Implementations§
Source§impl Debug for CommandTypeSpec
impl Debug for CommandTypeSpec
Source§impl<'de> Deserialize<'de> for CommandTypeSpec
impl<'de> Deserialize<'de> for CommandTypeSpec
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 CommandTypeSpec
impl RefUnwindSafe for CommandTypeSpec
impl Send for CommandTypeSpec
impl Sync for CommandTypeSpec
impl Unpin for CommandTypeSpec
impl UnsafeUnpin for CommandTypeSpec
impl UnwindSafe for CommandTypeSpec
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