libgraphql_core/operation/operation_kind.rs
1/// Similar to [`Operation`](crate::operation::Operation), except without the
2/// corresponding metadata. Useful when representing a group or category of
3/// [`Operation`](crate::operation::Operation)s.
4#[derive(Clone, Debug, PartialEq)]
5pub enum OperationKind {
6 Mutation,
7 Query,
8 Subscription,
9}