pub enum MutationOutcome {
Success {
entity: Value,
entity_type: Option<String>,
cascade: Option<Value>,
},
Error {
status: String,
message: String,
metadata: Value,
},
}Expand description
Outcome of parsing a single mutation_response row.
Variants§
Success
The mutation succeeded; the result entity is available.
Fields
Error
The mutation failed; error metadata is available.
Trait Implementations§
Source§impl Clone for MutationOutcome
impl Clone for MutationOutcome
Source§fn clone(&self) -> MutationOutcome
fn clone(&self) -> MutationOutcome
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 moreAuto Trait Implementations§
impl Freeze for MutationOutcome
impl RefUnwindSafe for MutationOutcome
impl Send for MutationOutcome
impl Sync for MutationOutcome
impl Unpin for MutationOutcome
impl UnsafeUnpin for MutationOutcome
impl UnwindSafe for MutationOutcome
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