pub struct StatisticsKey {
pub aggregation_type: String,
pub base_name: Option<String>,
pub default_cache_time: i32,
pub description: String,
pub key: String,
pub policies: Option<Vec<StatisticsKeyPolicy>>,
pub policy_cache_time: Option<i32>,
pub real_name: Option<String>,
pub scope: String,
pub _type: String,
pub units: String,
}
Fields§
§aggregation_type: String
Type of aggregation used in down-sampling.
base_name: Option<String>
Name of key this keys is derived from, if any.
default_cache_time: i32
Default time in seconds system will used cached values.
description: String
Description of statistics key.
key: String
Key name.
policies: Option<Vec<StatisticsKeyPolicy>>
List of effective history policies for key.
policy_cache_time: Option<i32>
Configured time in seconds system will used cached values.
real_name: Option<String>
Name of real key if this is an alias.
scope: String
Scope of key.
_type: String
Data type of key values.
units: String
Units of key values.
Trait Implementations§
Source§impl Debug for StatisticsKey
impl Debug for StatisticsKey
Source§impl<'de> Deserialize<'de> for StatisticsKey
impl<'de> Deserialize<'de> for StatisticsKey
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 StatisticsKey
impl RefUnwindSafe for StatisticsKey
impl Send for StatisticsKey
impl Sync for StatisticsKey
impl Unpin for StatisticsKey
impl UnwindSafe for StatisticsKey
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> 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