pub struct CollectUsageOptions { /* private fields */ }Expand description
Options identifying exactly which provider accounts to collect.
Implementations§
Source§impl CollectUsageOptions
impl CollectUsageOptions
Sourcepub fn providers(providers: impl IntoIterator<Item = ProviderId>) -> Self
pub fn providers(providers: impl IntoIterator<Item = ProviderId>) -> Self
Collect conventional profiles for exactly the supplied providers.
An empty iterator performs no probes.
Sourcepub fn profiles(profiles: impl IntoIterator<Item = ProviderProfile>) -> Self
pub fn profiles(profiles: impl IntoIterator<Item = ProviderProfile>) -> Self
Collect exactly the supplied enabled profiles.
An empty iterator performs no probes.
Trait Implementations§
Source§impl Clone for CollectUsageOptions
impl Clone for CollectUsageOptions
Source§impl Debug for CollectUsageOptions
impl Debug for CollectUsageOptions
Source§impl Default for CollectUsageOptions
impl Default for CollectUsageOptions
impl Eq for CollectUsageOptions
Source§impl Ord for CollectUsageOptions
impl Ord for CollectUsageOptions
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for CollectUsageOptions
impl PartialEq for CollectUsageOptions
Source§impl PartialOrd for CollectUsageOptions
impl PartialOrd for CollectUsageOptions
impl StructuralPartialEq for CollectUsageOptions
Auto Trait Implementations§
impl Freeze for CollectUsageOptions
impl RefUnwindSafe for CollectUsageOptions
impl Send for CollectUsageOptions
impl Sync for CollectUsageOptions
impl Unpin for CollectUsageOptions
impl UnsafeUnpin for CollectUsageOptions
impl UnwindSafe for CollectUsageOptions
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> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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.