pub struct DeleteDatapointsQuery {
pub inclusive_begin: i64,
pub exclusive_end: i64,
pub id: IdentityOrInstance,
}Expand description
Request for deleting a range of datapoints in a time series.
Fields§
§inclusive_begin: i64Inclusive start time, in milliseconds since epoch.
exclusive_end: i64Exclusive end time, in milliseconds since epoch.
id: IdentityOrInstanceID or external ID of time series to retrieve data from.
Implementations§
Source§impl DeleteDatapointsQuery
impl DeleteDatapointsQuery
Sourcepub fn new(
id: impl Into<IdentityOrInstance>,
inclusive_begin: i64,
exclusive_end: i64,
) -> DeleteDatapointsQuery
pub fn new( id: impl Into<IdentityOrInstance>, inclusive_begin: i64, exclusive_end: i64, ) -> DeleteDatapointsQuery
Create a query for deleting data points.
§Arguments
id- ID or external ID of time series to delete from.inclusive_begin- Inclusive start time, in milliseconds since epoch.exclusive_end- Exclusive end time, in milliseconds since epoch.
Trait Implementations§
Source§impl Clone for DeleteDatapointsQuery
impl Clone for DeleteDatapointsQuery
Source§fn clone(&self) -> DeleteDatapointsQuery
fn clone(&self) -> DeleteDatapointsQuery
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DeleteDatapointsQuery
impl Debug for DeleteDatapointsQuery
Source§impl<'de> Deserialize<'de> for DeleteDatapointsQuery
impl<'de> Deserialize<'de> for DeleteDatapointsQuery
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 DeleteDatapointsQuery
impl RefUnwindSafe for DeleteDatapointsQuery
impl Send for DeleteDatapointsQuery
impl Sync for DeleteDatapointsQuery
impl Unpin for DeleteDatapointsQuery
impl UnwindSafe for DeleteDatapointsQuery
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