pub struct MutationRequest {
pub mutations: Vec<GraphMutation>,
pub options: MutationRequestOptions,
}Expand description
Request structure for applying mutations via JSON
Fields§
§mutations: Vec<GraphMutation>List of mutations to apply in order
options: MutationRequestOptionsOptions for mutation application
Trait Implementations§
Source§impl Clone for MutationRequest
impl Clone for MutationRequest
Source§fn clone(&self) -> MutationRequest
fn clone(&self) -> MutationRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MutationRequest
impl Debug for MutationRequest
Source§impl<'de> Deserialize<'de> for MutationRequest
impl<'de> Deserialize<'de> for MutationRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for MutationRequest
impl RefUnwindSafe for MutationRequest
impl Send for MutationRequest
impl Sync for MutationRequest
impl Unpin for MutationRequest
impl UnsafeUnpin for MutationRequest
impl UnwindSafe for MutationRequest
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