pub enum AvailableCommandInput {
Unstructured(UnstructuredCommandInput),
Other(Value),
}Expand description
The input specification for an
AvailableCommand.
The schema names one variant: unstructured
text. A future revision may add a
structured-input variant; the typed form’s
Other(Value) passthrough preserves unknown
variants.
Variants§
Unstructured(UnstructuredCommandInput)
All text typed after the command name is the input. The most common form.
Other(Value)
A future or unknown input shape. The wire payload is preserved verbatim for the bridge to forward.
Trait Implementations§
Source§impl Clone for AvailableCommandInput
impl Clone for AvailableCommandInput
Source§impl Debug for AvailableCommandInput
impl Debug for AvailableCommandInput
Source§impl<'de> Deserialize<'de> for AvailableCommandInput
impl<'de> Deserialize<'de> for AvailableCommandInput
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 Eq for AvailableCommandInput
Source§impl PartialEq for AvailableCommandInput
impl PartialEq for AvailableCommandInput
Source§impl Serialize for AvailableCommandInput
impl Serialize for AvailableCommandInput
impl StructuralPartialEq for AvailableCommandInput
Auto Trait Implementations§
impl Freeze for AvailableCommandInput
impl RefUnwindSafe for AvailableCommandInput
impl Send for AvailableCommandInput
impl Sync for AvailableCommandInput
impl Unpin for AvailableCommandInput
impl UnsafeUnpin for AvailableCommandInput
impl UnwindSafe for AvailableCommandInput
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