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.6.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 Freeze for ExecutableDocument
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)