pub enum Elicitation<T> {
Accepted(T),
Declined,
Cancelled,
}Expand description
The outcome of an elicitation.
Variants§
Accepted(T)
The user submitted the form.
Declined
The user explicitly declined.
Cancelled
The user dismissed the request without choosing.
Trait Implementations§
Source§impl<T: Clone> Clone for Elicitation<T>
impl<T: Clone> Clone for Elicitation<T>
Source§impl<T: Debug> Debug for Elicitation<T>
impl<T: Debug> Debug for Elicitation<T>
impl<T: Eq> Eq for Elicitation<T>
Source§impl<T: PartialEq> PartialEq for Elicitation<T>
impl<T: PartialEq> PartialEq for Elicitation<T>
impl<T: PartialEq> StructuralPartialEq for Elicitation<T>
Auto Trait Implementations§
impl<T> Freeze for Elicitation<T>where
T: Freeze,
impl<T> RefUnwindSafe for Elicitation<T>where
T: RefUnwindSafe,
impl<T> Send for Elicitation<T>where
T: Send,
impl<T> Sync for Elicitation<T>where
T: Sync,
impl<T> Unpin for Elicitation<T>where
T: Unpin,
impl<T> UnsafeUnpin for Elicitation<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for Elicitation<T>where
T: 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