pub struct SchemaOperation {
pub operation_type: OperationType,
pub root_type_name: String,
pub field_name: String,
pub arguments: Vec<OperationArgument>,
pub result_type: TypeReference,
pub directives: IndexMap<String, Value>,
}Expand description
A root schema operation field described as domain-empty data.
Fields§
§operation_type: OperationTypeRoot operation kind for the field.
root_type_name: StringRoot GraphQL object type that owns this operation field.
field_name: StringRoot field name.
arguments: Vec<OperationArgument>Root field arguments.
result_type: TypeReferenceRoot field result type.
directives: IndexMap<String, Value>Generic map of directives attached to the root field.
Trait Implementations§
Source§impl Clone for SchemaOperation
impl Clone for SchemaOperation
Source§fn clone(&self) -> SchemaOperation
fn clone(&self) -> SchemaOperation
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 SchemaOperation
impl Debug for SchemaOperation
Source§impl<'de> Deserialize<'de> for SchemaOperation
impl<'de> Deserialize<'de> for SchemaOperation
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 SchemaOperation
impl PartialEq for SchemaOperation
Source§fn eq(&self, other: &SchemaOperation) -> bool
fn eq(&self, other: &SchemaOperation) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SchemaOperation
impl Serialize for SchemaOperation
impl StructuralPartialEq for SchemaOperation
Auto Trait Implementations§
impl Freeze for SchemaOperation
impl RefUnwindSafe for SchemaOperation
impl Send for SchemaOperation
impl Sync for SchemaOperation
impl Unpin for SchemaOperation
impl UnsafeUnpin for SchemaOperation
impl UnwindSafe for SchemaOperation
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