pub enum UserInput {
Text(String),
Raw(Value),
}Expand description
One piece of user input for a turn.
Variants§
Text(String)
Plain text.
Raw(Value)
Any other input item, sent as given. See the protocol schema for the shapes the server accepts.
Implementations§
Trait Implementations§
impl StructuralPartialEq for UserInput
Auto Trait Implementations§
impl Freeze for UserInput
impl RefUnwindSafe for UserInput
impl Send for UserInput
impl Sync for UserInput
impl Unpin for UserInput
impl UnsafeUnpin for UserInput
impl UnwindSafe for UserInput
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