pub enum ProcessUserInput {
String(String),
ContentBlocks(Vec<ContentBlockParam>),
}Expand description
User input - either string or content blocks
Variants§
String(String)
ContentBlocks(Vec<ContentBlockParam>)
Trait Implementations§
Source§impl Clone for ProcessUserInput
impl Clone for ProcessUserInput
Source§fn clone(&self) -> ProcessUserInput
fn clone(&self) -> ProcessUserInput
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ProcessUserInput
impl RefUnwindSafe for ProcessUserInput
impl Send for ProcessUserInput
impl Sync for ProcessUserInput
impl Unpin for ProcessUserInput
impl UnsafeUnpin for ProcessUserInput
impl UnwindSafe for ProcessUserInput
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