pub struct DependencyUsageQuery {
pub specifiers: Vec<String>,
pub sites: Option<SitePageRequest>,
pub closure_depth: Option<u32>,
}Expand description
What a dependency usage trace reports.
Fields§
§specifiers: Vec<String>Imported names to report. Empty reports all names.
sites: Option<SitePageRequest>The page of sites to report, or None for counts only.
closure_depth: Option<u32>The depth of the consumer closure, or None for no closure.
Implementations§
Trait Implementations§
Source§impl Clone for DependencyUsageQuery
impl Clone for DependencyUsageQuery
Source§impl Debug for DependencyUsageQuery
impl Debug for DependencyUsageQuery
Source§impl Default for DependencyUsageQuery
impl Default for DependencyUsageQuery
impl Eq for DependencyUsageQuery
Source§impl PartialEq for DependencyUsageQuery
impl PartialEq for DependencyUsageQuery
impl StructuralPartialEq for DependencyUsageQuery
Auto Trait Implementations§
impl Freeze for DependencyUsageQuery
impl RefUnwindSafe for DependencyUsageQuery
impl Send for DependencyUsageQuery
impl Sync for DependencyUsageQuery
impl Unpin for DependencyUsageQuery
impl UnsafeUnpin for DependencyUsageQuery
impl UnwindSafe for DependencyUsageQuery
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.