pub struct GraphMutationPlan {
pub operations: Vec<GraphMutationPlanOp>,
}Fields§
§operations: Vec<GraphMutationPlanOp>Implementations§
Source§impl GraphMutationPlan
impl GraphMutationPlan
pub fn new(operations: Vec<GraphMutationPlanOp>) -> Self
pub fn push(&mut self, operation: GraphMutationPlanOp)
pub fn report(&self) -> GraphMutationReport
pub fn into_mutations(self) -> Vec<GraphMutation>
Trait Implementations§
Source§impl Clone for GraphMutationPlan
impl Clone for GraphMutationPlan
Source§fn clone(&self) -> GraphMutationPlan
fn clone(&self) -> GraphMutationPlan
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 GraphMutationPlan
impl Debug for GraphMutationPlan
Source§impl Default for GraphMutationPlan
impl Default for GraphMutationPlan
Source§fn default() -> GraphMutationPlan
fn default() -> GraphMutationPlan
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GraphMutationPlan
impl<'de> Deserialize<'de> for GraphMutationPlan
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
Source§impl PartialEq for GraphMutationPlan
impl PartialEq for GraphMutationPlan
Source§fn eq(&self, other: &GraphMutationPlan) -> bool
fn eq(&self, other: &GraphMutationPlan) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for GraphMutationPlan
impl Serialize for GraphMutationPlan
impl StructuralPartialEq for GraphMutationPlan
Auto Trait Implementations§
impl Freeze for GraphMutationPlan
impl RefUnwindSafe for GraphMutationPlan
impl Send for GraphMutationPlan
impl Sync for GraphMutationPlan
impl Unpin for GraphMutationPlan
impl UnsafeUnpin for GraphMutationPlan
impl UnwindSafe for GraphMutationPlan
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