Enum serde_spaniel::prompt::ReportKind
source · [−]pub enum ReportKind {
BadResponse,
Help,
}
Expand description
Represents the kind of a message reported to a prompt.
Variants
BadResponse
The previous response was not accepted.
Help
The associated text is informative only.
Trait Implementations
sourceimpl Clone for ReportKind
impl Clone for ReportKind
sourcefn clone(&self) -> ReportKind
fn clone(&self) -> ReportKind
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 ReportKind
impl Debug for ReportKind
sourceimpl PartialEq<ReportKind> for ReportKind
impl PartialEq<ReportKind> for ReportKind
impl Copy for ReportKind
impl StructuralPartialEq for ReportKind
Auto Trait Implementations
impl RefUnwindSafe for ReportKind
impl Send for ReportKind
impl Sync for ReportKind
impl Unpin for ReportKind
impl UnwindSafe for ReportKind
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