Enum serde_spaniel::UserAction
source · [−]Expand description
This type represents actions a user may take while interacting with the deserialiser.
Variants
Cancel
Cancel deserialising.
Restart(usize)
Restart deserialising from response n
.
Undo(usize)
Undo the last n
responses to the deserialiser.
Trait Implementations
sourceimpl Clone for UserAction
impl Clone for UserAction
sourcefn clone(&self) -> UserAction
fn clone(&self) -> UserAction
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 UserAction
impl Debug for UserAction
sourceimpl PartialEq<UserAction> for UserAction
impl PartialEq<UserAction> for UserAction
sourcefn eq(&self, other: &UserAction) -> bool
fn eq(&self, other: &UserAction) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &UserAction) -> bool
fn ne(&self, other: &UserAction) -> bool
This method tests for !=
.
impl Copy for UserAction
impl StructuralPartialEq for UserAction
Auto Trait Implementations
impl RefUnwindSafe for UserAction
impl Send for UserAction
impl Sync for UserAction
impl Unpin for UserAction
impl UnwindSafe for UserAction
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