Struct async_graphql_parser::types::ExecutableDocument
source · [−]pub struct ExecutableDocument {
pub operations: DocumentOperations,
pub fragments: HashMap<Name, Positioned<FragmentDefinition>>,
}
Expand description
An executable GraphQL file or request string.
Fields
operations: DocumentOperations
The operations of the document.
fragments: HashMap<Name, Positioned<FragmentDefinition>>
The fragments of the document.
Trait Implementations
sourceimpl Clone for ExecutableDocument
impl Clone for ExecutableDocument
sourcefn clone(&self) -> ExecutableDocument
fn clone(&self) -> ExecutableDocument
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ExecutableDocument
impl Debug for ExecutableDocument
sourceimpl<'de> Deserialize<'de> for ExecutableDocument
impl<'de> Deserialize<'de> for ExecutableDocument
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Serialize for ExecutableDocument
impl Serialize for ExecutableDocument
Auto Trait Implementations
impl RefUnwindSafe for ExecutableDocument
impl Send for ExecutableDocument
impl Sync for ExecutableDocument
impl Unpin for ExecutableDocument
impl UnwindSafe for ExecutableDocument
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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