pub enum OperationType {
Query,
Mutation,
Subscription,
}Variants§
Trait Implementations§
Source§impl<'_derivative_strum> From<&'_derivative_strum OperationType> for &'static str
impl<'_derivative_strum> From<&'_derivative_strum OperationType> for &'static str
Source§fn from(x: &'_derivative_strum OperationType) -> &'static str
fn from(x: &'_derivative_strum OperationType) -> &'static str
Converts to this type from the input type.
Source§impl From<OperationType> for &'static str
impl From<OperationType> for &'static str
Source§fn from(x: OperationType) -> &'static str
fn from(x: OperationType) -> &'static str
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for OperationType
impl RefUnwindSafe for OperationType
impl Send for OperationType
impl Sync for OperationType
impl Unpin for OperationType
impl UnwindSafe for OperationType
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