pub struct MutationReject(pub String);Expand description
Why a mutator refused a mutation (permission/validation/SQL failure). Converts from
the common error shapes so ? works inside a mutator body.
Tuple Fields§
§0: StringTrait Implementations§
Source§impl Clone for MutationReject
impl Clone for MutationReject
Source§fn clone(&self) -> MutationReject
fn clone(&self) -> MutationReject
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MutationReject
impl Debug for MutationReject
Source§impl From<&str> for MutationReject
impl From<&str> for MutationReject
Source§fn from(s: &str) -> MutationReject
fn from(s: &str) -> MutationReject
Converts to this type from the input type.
Source§impl From<ReplicaError> for MutationReject
impl From<ReplicaError> for MutationReject
Source§fn from(e: ReplicaError) -> MutationReject
fn from(e: ReplicaError) -> MutationReject
Converts to this type from the input type.
Source§impl From<String> for MutationReject
impl From<String> for MutationReject
Source§fn from(s: String) -> MutationReject
fn from(s: String) -> MutationReject
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for MutationReject
impl RefUnwindSafe for MutationReject
impl Send for MutationReject
impl Sync for MutationReject
impl Unpin for MutationReject
impl UnsafeUnpin for MutationReject
impl UnwindSafe for MutationReject
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