pub struct MutationServerOutcome {
pub mutation_id: u64,
pub name: String,
pub args: Option<Value>,
pub outcome: MutationOutcome,
}Expand description
The server’s outcome of a mutation this client made, reported by
Zero::add_mutation_outcome_listener.
Swift’s MutationServerOutcome: the JS client has no counterpart.
Fields§
§mutation_id: u64The mutation’s ID, counted per client from 1.
name: StringThe mutator’s name, such as issue.create.
args: Option<Value>The mutator’s arguments: None when it was given none.
outcome: MutationOutcomeSuccess or AppError, with the server’s data or message; or
ZeroError when the server reported a mutation it couldn’t process.
Trait Implementations§
Source§impl Clone for MutationServerOutcome
impl Clone for MutationServerOutcome
Source§impl Debug for MutationServerOutcome
impl Debug for MutationServerOutcome
Source§impl PartialEq for MutationServerOutcome
impl PartialEq for MutationServerOutcome
impl StructuralPartialEq for MutationServerOutcome
Auto Trait Implementations§
impl Forget for MutationServerOutcome
impl Freeze for MutationServerOutcome
impl Move for MutationServerOutcome
impl RefUnwindSafe for MutationServerOutcome
impl Send for MutationServerOutcome
impl Sync for MutationServerOutcome
impl Unpin for MutationServerOutcome
impl UnsafeUnpin for MutationServerOutcome
impl UnwindSafe for MutationServerOutcome
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