Struct apollo_compiler::executable::GetOperationError
source · #[non_exhaustive]pub struct GetOperationError();
Expand description
A request error returned by ExecutableDocument::get_operation
If get_operation
’s name_request
argument was Some
, this error indicates
that the document does not contain an operation with the requested name.
If name_request
was None
, the request is ambiguous
because the document contains multiple operations
(or zero, though the document would be invalid in that case).
Trait Implementations§
source§impl Clone for GetOperationError
impl Clone for GetOperationError
source§fn clone(&self) -> GetOperationError
fn clone(&self) -> GetOperationError
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 GetOperationError
impl Debug for GetOperationError
source§impl PartialEq for GetOperationError
impl PartialEq for GetOperationError
source§fn eq(&self, other: &GetOperationError) -> bool
fn eq(&self, other: &GetOperationError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for GetOperationError
impl StructuralPartialEq for GetOperationError
Auto Trait Implementations§
impl RefUnwindSafe for GetOperationError
impl Send for GetOperationError
impl Sync for GetOperationError
impl Unpin for GetOperationError
impl UnwindSafe for GetOperationError
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.