pub enum RuntimeCommand {
Primitive(PrimitiveCommand),
Intent(IntentCommand),
}Expand description
Nested command wire shape: { kind: "intent" | "primitive", input: … }.
Variants§
Primitive(PrimitiveCommand)
Intent(IntentCommand)
Implementations§
Source§impl RuntimeCommand
impl RuntimeCommand
pub fn class(&self) -> CommandClass
pub fn sanitize_urls(&mut self)
Trait Implementations§
Source§impl Clone for RuntimeCommand
impl Clone for RuntimeCommand
Source§impl Debug for RuntimeCommand
impl Debug for RuntimeCommand
Source§impl<'de> Deserialize<'de> for RuntimeCommand
impl<'de> Deserialize<'de> for RuntimeCommand
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 RuntimeCommand
impl RefUnwindSafe for RuntimeCommand
impl Send for RuntimeCommand
impl Sync for RuntimeCommand
impl Unpin for RuntimeCommand
impl UnsafeUnpin for RuntimeCommand
impl UnwindSafe for RuntimeCommand
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