Struct oxide_api::types::TimeseriesSchema
source · [−]pub struct TimeseriesSchema {
pub created: Option<DateTime<Utc>>,
pub datum_type: DatumType,
pub field_schema: Vec<FieldSchema>,
pub timeseries_name: String,
}Expand description
The schema for a timeseries.
This includes the name of the timeseries, as well as the datum type of its metric and the schema for each field.
Fields
created: Option<DateTime<Utc>>- timestamp when this resource was created
datum_type: DatumType- The type of an individual datum of a metric.
field_schema: Vec<FieldSchema>timeseries_name: String- human-readable free-form text about a resource
Trait Implementations
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
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for TimeseriesSchema
impl Send for TimeseriesSchema
impl Sync for TimeseriesSchema
impl Unpin for TimeseriesSchema
impl UnwindSafe for TimeseriesSchema
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more