pub struct MutationRef(/* private fields */);Expand description
Strongly typed reference to a mutation operation.
Implementations§
Source§impl MutationRef
impl MutationRef
pub fn operation_name(&self) -> &str
pub fn variables(&self) -> &Value
pub fn service(&self) -> &Arc<DataConnectService>
Trait Implementations§
Source§impl Clone for MutationRef
impl Clone for MutationRef
Source§fn clone(&self) -> MutationRef
fn clone(&self) -> MutationRef
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 MutationRef
impl !RefUnwindSafe for MutationRef
impl Send for MutationRef
impl Sync for MutationRef
impl Unpin for MutationRef
impl !UnwindSafe for MutationRef
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