Enum serde_spaniel::prompt::RequestKind
source · [−]pub enum RequestKind {
Datum,
Question,
Synthetic,
}
Expand description
Represents the kind of a prompt request or response.
Variants
Datum
A value which makes up the type being deserialised.
Question
A question related to the type being deserialised.
Synthetic
The deserialiser already knows the value.
Trait Implementations
sourceimpl Clone for RequestKind
impl Clone for RequestKind
sourcefn clone(&self) -> RequestKind
fn clone(&self) -> RequestKind
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for RequestKind
impl Debug for RequestKind
sourceimpl PartialEq<RequestKind> for RequestKind
impl PartialEq<RequestKind> for RequestKind
impl Copy for RequestKind
impl StructuralPartialEq for RequestKind
Auto Trait Implementations
impl RefUnwindSafe for RequestKind
impl Send for RequestKind
impl Sync for RequestKind
impl Unpin for RequestKind
impl UnwindSafe for RequestKind
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more