pub struct IntermediateMutation {
pub name: String,
pub return_type: String,
pub returns_list: bool,
pub nullable: bool,
pub arguments: Vec<IntermediateArgument>,
pub description: Option<String>,
pub sql_source: Option<String>,
pub operation: Option<String>,
pub deprecated: Option<IntermediateDeprecation>,
}Expand description
Mutation definition in intermediate format
Fields§
§name: StringMutation name (e.g., “createUser”)
return_type: StringReturn type name (e.g., “User”)
returns_list: boolReturns a list?
nullable: boolResult is nullable?
arguments: Vec<IntermediateArgument>Mutation arguments
description: Option<String>Mutation description (from docstring)
sql_source: Option<String>SQL source (function name)
operation: Option<String>Operation type (CREATE, UPDATE, DELETE, CUSTOM)
deprecated: Option<IntermediateDeprecation>Deprecation info (from @deprecated directive)
Trait Implementations§
Source§impl Clone for IntermediateMutation
impl Clone for IntermediateMutation
Source§fn clone(&self) -> IntermediateMutation
fn clone(&self) -> IntermediateMutation
Returns a duplicate of the value. Read more
1.0.0 · 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 IntermediateMutation
impl Debug for IntermediateMutation
Source§impl<'de> Deserialize<'de> for IntermediateMutation
impl<'de> Deserialize<'de> for IntermediateMutation
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 IntermediateMutation
impl PartialEq for IntermediateMutation
Source§impl Serialize for IntermediateMutation
impl Serialize for IntermediateMutation
impl Eq for IntermediateMutation
impl StructuralPartialEq for IntermediateMutation
Auto Trait Implementations§
impl Freeze for IntermediateMutation
impl RefUnwindSafe for IntermediateMutation
impl Send for IntermediateMutation
impl Sync for IntermediateMutation
impl Unpin for IntermediateMutation
impl UnwindSafe for IntermediateMutation
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.