pub struct OperationDirectiveArgs {
pub directive_name: String,
pub arguments: IndexMap<String, Value>,
}Expand description
Arguments extracted from a directive attached to a GraphQL operation.
Fields§
§directive_name: StringDirective name without the leading @.
arguments: IndexMap<String, Value>Directive arguments represented as JSON-compatible values.
Trait Implementations§
Source§impl Clone for OperationDirectiveArgs
impl Clone for OperationDirectiveArgs
Source§fn clone(&self) -> OperationDirectiveArgs
fn clone(&self) -> OperationDirectiveArgs
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 OperationDirectiveArgs
impl Debug for OperationDirectiveArgs
Source§impl<'de> Deserialize<'de> for OperationDirectiveArgs
impl<'de> Deserialize<'de> for OperationDirectiveArgs
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 OperationDirectiveArgs
impl PartialEq for OperationDirectiveArgs
Source§fn eq(&self, other: &OperationDirectiveArgs) -> bool
fn eq(&self, other: &OperationDirectiveArgs) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for OperationDirectiveArgs
impl Serialize for OperationDirectiveArgs
impl StructuralPartialEq for OperationDirectiveArgs
Auto Trait Implementations§
impl Freeze for OperationDirectiveArgs
impl RefUnwindSafe for OperationDirectiveArgs
impl Send for OperationDirectiveArgs
impl Sync for OperationDirectiveArgs
impl Unpin for OperationDirectiveArgs
impl UnsafeUnpin for OperationDirectiveArgs
impl UnwindSafe for OperationDirectiveArgs
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