pub enum Call {
Document {
name: String,
node_count: Option<u64>,
},
Endpoint {
endpoint: Endpoint,
},
}Expand description
What one request asked for.
Variants§
Document
A GraphQL request, which sends a document.
Fields
§
name: StringWhat the sender was doing, from
graphql::DOCUMENTS when the document is one of
this source’s own, and from the caller’s own name when it is not.
Endpoint
A REST request, which sends no document and has no node count.
Implementations§
Trait Implementations§
impl Eq for Call
impl StructuralPartialEq for Call
Auto Trait Implementations§
impl Freeze for Call
impl RefUnwindSafe for Call
impl Send for Call
impl Sync for Call
impl Unpin for Call
impl UnsafeUnpin for Call
impl UnwindSafe for Call
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