pub struct DataSetConfig {
pub poll_rate_sec: i64,
pub metrics: Vec<MetricConfig>,
}Expand description
Grouping unit for metrics within a single project that share a polling frequency.
Fields§
§poll_rate_sec: i64The frequency with which metrics are sampled, in seconds.
metrics: Vec<MetricConfig>The collection of mappings from Inspect to Cobalt.
Trait Implementations§
Source§impl Debug for DataSetConfig
impl Debug for DataSetConfig
Source§impl<'de> Deserialize<'de> for DataSetConfig
impl<'de> Deserialize<'de> for DataSetConfig
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
Source§impl PartialEq for DataSetConfig
impl PartialEq for DataSetConfig
Source§impl Serialize for DataSetConfig
impl Serialize for DataSetConfig
impl StructuralPartialEq for DataSetConfig
Auto Trait Implementations§
impl Freeze for DataSetConfig
impl RefUnwindSafe for DataSetConfig
impl Send for DataSetConfig
impl Sync for DataSetConfig
impl Unpin for DataSetConfig
impl UnsafeUnpin for DataSetConfig
impl UnwindSafe for DataSetConfig
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
§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more