pub struct GraphQLOperation {
pub operation_type: OperationType,
pub name: String,
pub handler: String,
}Expand description
GraphQL operation definition
Fields§
§operation_type: OperationTypeOperation type (query or mutation)
name: StringOperation name (e.g., “user”, “createUser”)
handler: StringHandler name to call
Implementations§
Trait Implementations§
Source§impl Clone for GraphQLOperation
impl Clone for GraphQLOperation
Source§fn clone(&self) -> GraphQLOperation
fn clone(&self) -> GraphQLOperation
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 moreAuto Trait Implementations§
impl Freeze for GraphQLOperation
impl RefUnwindSafe for GraphQLOperation
impl Send for GraphQLOperation
impl Sync for GraphQLOperation
impl Unpin for GraphQLOperation
impl UnwindSafe for GraphQLOperation
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