pub enum UserInputDecision<R> {
Submitted {
id: String,
response: R,
},
Cancelled {
id: String,
},
}Variants§
Trait Implementations§
Source§impl<R: Clone> Clone for UserInputDecision<R>
impl<R: Clone> Clone for UserInputDecision<R>
Source§fn clone(&self) -> UserInputDecision<R>
fn clone(&self) -> UserInputDecision<R>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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<R> Freeze for UserInputDecision<R>where
R: Freeze,
impl<R> RefUnwindSafe for UserInputDecision<R>where
R: RefUnwindSafe,
impl<R> Send for UserInputDecision<R>where
R: Send,
impl<R> Sync for UserInputDecision<R>where
R: Sync,
impl<R> Unpin for UserInputDecision<R>where
R: Unpin,
impl<R> UnsafeUnpin for UserInputDecision<R>where
R: UnsafeUnpin,
impl<R> UnwindSafe for UserInputDecision<R>where
R: UnwindSafe,
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