pub struct ComplexityInfo {
pub depth: usize,
pub field_count: usize,
pub score: usize,
}Expand description
Complexity analysis metrics for a query
Fields§
§depth: usizeMaximum nesting depth of the query
field_count: usizeTotal number of fields requested
score: usizeOverall complexity score
Trait Implementations§
Source§impl Debug for ComplexityInfo
impl Debug for ComplexityInfo
Auto Trait Implementations§
impl Freeze for ComplexityInfo
impl RefUnwindSafe for ComplexityInfo
impl Send for ComplexityInfo
impl Sync for ComplexityInfo
impl Unpin for ComplexityInfo
impl UnwindSafe for ComplexityInfo
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