pub struct UnstructuredCommandInput {
pub hint: Option<String>,
}Expand description
An unstructured input. The user types text after the command name; the entire string is the input.
Fields§
§hint: Option<String>A hint to display when the input hasn’t
been provided yet (e.g. “Search for…” on a
/search command).
Trait Implementations§
Source§impl Clone for UnstructuredCommandInput
impl Clone for UnstructuredCommandInput
Source§impl Debug for UnstructuredCommandInput
impl Debug for UnstructuredCommandInput
Source§impl<'de> Deserialize<'de> for UnstructuredCommandInput
impl<'de> Deserialize<'de> for UnstructuredCommandInput
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 UnstructuredCommandInput
Source§impl PartialEq for UnstructuredCommandInput
impl PartialEq for UnstructuredCommandInput
Source§impl Serialize for UnstructuredCommandInput
impl Serialize for UnstructuredCommandInput
impl StructuralPartialEq for UnstructuredCommandInput
Auto Trait Implementations§
impl Freeze for UnstructuredCommandInput
impl RefUnwindSafe for UnstructuredCommandInput
impl Send for UnstructuredCommandInput
impl Sync for UnstructuredCommandInput
impl Unpin for UnstructuredCommandInput
impl UnsafeUnpin for UnstructuredCommandInput
impl UnwindSafe for UnstructuredCommandInput
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