pub struct DatapointsResponse {
pub id: i64,
pub external_id: Option<String>,
pub datapoints: DatapointsEnumType,
pub unit: Option<String>,
pub unit_external_id: Option<String>,
pub is_step: bool,
pub is_string: bool,
pub next_cursor: Option<String>,
}Expand description
Response for a single timeseries when listing datapoints.
Fields§
§id: i64Time series internal ID.
external_id: Option<String>Time series external ID.
datapoints: DatapointsEnumTypeRetrieved datapoints.
unit: Option<String>The physical unit of the time series (free-text field). Omitted if data points were converted to a different unit.
unit_external_id: Option<String>The physical unit of the time series as represented in the unit catalog. Replaced with target unit if data points were converted.
is_step: boolTime series is_step property value.
is_string: boolWhether this is a string time series.
next_cursor: Option<String>The cursor to get the next page of results (if available). nextCursor will be omitted when the next aggregate datapoint is after the end of the interval. Increase start/end to fetch more data.
Trait Implementations§
Source§impl Debug for DatapointsResponse
impl Debug for DatapointsResponse
Source§impl From<DataPointListItem> for DatapointsResponse
impl From<DataPointListItem> for DatapointsResponse
Source§fn from(req: DataPointListItem) -> DatapointsResponse
fn from(req: DataPointListItem) -> DatapointsResponse
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DatapointsResponse
impl RefUnwindSafe for DatapointsResponse
impl Send for DatapointsResponse
impl Sync for DatapointsResponse
impl Unpin for DatapointsResponse
impl UnwindSafe for DatapointsResponse
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