pub struct Operation {
pub kind: OperationKind,
pub name: Option<String>,
pub variables: Vec<(String, Option<Value>)>,
pub selections: Vec<Selection>,
}Fields§
§kind: OperationKind§name: Option<String>§variables: Vec<(String, Option<Value>)>Variable name and default value.
selections: Vec<Selection>Trait Implementations§
impl StructuralPartialEq for Operation
Auto Trait Implementations§
impl Forget for Operation
impl Freeze for Operationwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<(String, Option<Value>)>: Freeze,
PhantomData<Selection>: Freeze,
impl Move for Operation
impl RefUnwindSafe for Operation
impl Send for Operationwhere
RawVecInner: Send,
impl Sync for Operationwhere
RawVecInner: Sync,
impl Unpin for Operation
impl UnsafeUnpin for Operationwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<(String, Option<Value>)>: UnsafeUnpin,
PhantomData<Selection>: UnsafeUnpin,
impl UnwindSafe for Operationwhere
RawVecInner: UnwindSafe,
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