Struct async_graphql::ValidationResult
source · [−]pub struct ValidationResult {
pub cache_control: CacheControl,
pub complexity: usize,
pub depth: usize,
}
Expand description
Validation results.
Fields
cache_control: CacheControl
Cache control
complexity: usize
Query complexity
depth: usize
Query depth
Trait Implementations
sourceimpl Clone for ValidationResult
impl Clone for ValidationResult
sourcefn clone(&self) -> ValidationResult
fn clone(&self) -> ValidationResult
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 ValidationResult
impl Debug for ValidationResult
impl Copy for ValidationResult
Auto Trait Implementations
impl RefUnwindSafe for ValidationResult
impl Send for ValidationResult
impl Sync for ValidationResult
impl Unpin for ValidationResult
impl UnwindSafe for ValidationResult
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