Enum apollo_encoder::OperationType
source · [−]pub enum OperationType {
Query,
Mutation,
Subscription,
}
Expand description
The OperationType type represents the kind of operation
OperationType: query | mutation | subscription
Detailed documentation can be found in GraphQL spec.
Variants
Query
Represents a query operation
Mutation
Represents a mutation operation
Subscription
Represents a subscription operation
Trait Implementations
sourceimpl Debug for OperationType
impl Debug for OperationType
Auto Trait Implementations
impl RefUnwindSafe for OperationType
impl Send for OperationType
impl Sync for OperationType
impl Unpin for OperationType
impl UnwindSafe for OperationType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more