pub struct ActiveMetricRestriction {
pub restricted_metric_types: Option<Vec<RestrictedMetricType>>,
pub metric_name: Option<bool>,
}
Fields§
§restricted_metric_types: Option<Vec<RestrictedMetricType>>
§metric_name: Option<bool>
Trait Implementations§
Source§impl Clone for ActiveMetricRestriction
impl Clone for ActiveMetricRestriction
Source§fn clone(&self) -> ActiveMetricRestriction
fn clone(&self) -> ActiveMetricRestriction
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ActiveMetricRestriction
impl Debug for ActiveMetricRestriction
Source§impl Default for ActiveMetricRestriction
impl Default for ActiveMetricRestriction
Source§fn default() -> ActiveMetricRestriction
fn default() -> ActiveMetricRestriction
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ActiveMetricRestriction
impl<'de> Deserialize<'de> for ActiveMetricRestriction
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ActiveMetricRestriction
impl RefUnwindSafe for ActiveMetricRestriction
impl Send for ActiveMetricRestriction
impl Sync for ActiveMetricRestriction
impl Unpin for ActiveMetricRestriction
impl UnwindSafe for ActiveMetricRestriction
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