pub enum OperationKind {
Query,
Command,
Mutation,
Subscription,
Action,
}Expand description
API operation kind labels.
Variants§
Query
A stable label variant.
Command
A stable label variant.
Mutation
A stable label variant.
Subscription
A stable label variant.
Action
A stable label variant.
Implementations§
Trait Implementations§
Source§impl Clone for OperationKind
impl Clone for OperationKind
Source§fn clone(&self) -> OperationKind
fn clone(&self) -> OperationKind
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 OperationKind
impl Debug for OperationKind
Source§impl Default for OperationKind
impl Default for OperationKind
Source§impl Display for OperationKind
impl Display for OperationKind
Source§impl FromStr for OperationKind
impl FromStr for OperationKind
Source§impl Hash for OperationKind
impl Hash for OperationKind
Source§impl Ord for OperationKind
impl Ord for OperationKind
Source§fn cmp(&self, other: &OperationKind) -> Ordering
fn cmp(&self, other: &OperationKind) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for OperationKind
impl PartialEq for OperationKind
Source§fn eq(&self, other: &OperationKind) -> bool
fn eq(&self, other: &OperationKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for OperationKind
impl PartialOrd for OperationKind
impl Copy for OperationKind
impl Eq for OperationKind
impl StructuralPartialEq for OperationKind
Auto Trait Implementations§
impl Freeze for OperationKind
impl RefUnwindSafe for OperationKind
impl Send for OperationKind
impl Sync for OperationKind
impl Unpin for OperationKind
impl UnsafeUnpin for OperationKind
impl UnwindSafe for OperationKind
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