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§
source§impl Clone for ExecutableDocument
impl Clone for ExecutableDocument
source§fn clone(&self) -> ExecutableDocument
fn clone(&self) -> ExecutableDocument
Returns a copy of the value. Read more
1.0.0 · 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 ExecutableDocument
impl Debug for ExecutableDocument
source§impl<'de> Deserialize<'de> for ExecutableDocument
impl<'de> Deserialize<'de> for ExecutableDocument
source§fn 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
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§
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