pub struct IRMutation {
pub name: String,
pub return_type: String,
pub nullable: bool,
pub arguments: Vec<IRArgument>,
pub description: Option<String>,
pub operation: MutationOperation,
}Expand description
IR Mutation definition.
Fields§
§name: StringMutation name (e.g., “createUser”, “updatePost”).
return_type: StringReturn type name.
nullable: boolIs return value nullable?
arguments: Vec<IRArgument>Mutation arguments.
description: Option<String>Mutation description.
operation: MutationOperationSQL operation type.
Trait Implementations§
Source§impl Clone for IRMutation
impl Clone for IRMutation
Source§fn clone(&self) -> IRMutation
fn clone(&self) -> IRMutation
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 IRMutation
impl Debug for IRMutation
Source§impl<'de> Deserialize<'de> for IRMutation
impl<'de> Deserialize<'de> for IRMutation
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 IRMutation
impl PartialEq for IRMutation
Source§impl Serialize for IRMutation
impl Serialize for IRMutation
impl StructuralPartialEq for IRMutation
Auto Trait Implementations§
impl Freeze for IRMutation
impl RefUnwindSafe for IRMutation
impl Send for IRMutation
impl Sync for IRMutation
impl Unpin for IRMutation
impl UnsafeUnpin for IRMutation
impl UnwindSafe for IRMutation
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