#[non_exhaustive]pub struct CreateTimeSeriesSummary {
pub total_point_count: i32,
pub success_point_count: i32,
pub errors: Vec<Error>,
}Expand description
Summary of the result of a failed request to write data to a time series.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.total_point_count: i32The number of points in the request.
success_point_count: i32The number of points that were successfully written.
errors: Vec<Error>The number of points that failed to be written. Order is not guaranteed.
Implementations§
Source§impl CreateTimeSeriesSummary
impl CreateTimeSeriesSummary
Sourcepub fn set_total_point_count<T: Into<i32>>(self, v: T) -> Self
pub fn set_total_point_count<T: Into<i32>>(self, v: T) -> Self
Sets the value of total_point_count.
Sourcepub fn set_success_point_count<T: Into<i32>>(self, v: T) -> Self
pub fn set_success_point_count<T: Into<i32>>(self, v: T) -> Self
Sets the value of success_point_count.
Sourcepub fn set_errors<T, V>(self, v: T) -> Self
pub fn set_errors<T, V>(self, v: T) -> Self
Sets the value of errors.
Trait Implementations§
Source§impl Clone for CreateTimeSeriesSummary
impl Clone for CreateTimeSeriesSummary
Source§fn clone(&self) -> CreateTimeSeriesSummary
fn clone(&self) -> CreateTimeSeriesSummary
Returns a copy 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 CreateTimeSeriesSummary
impl Debug for CreateTimeSeriesSummary
Source§impl Default for CreateTimeSeriesSummary
impl Default for CreateTimeSeriesSummary
Source§fn default() -> CreateTimeSeriesSummary
fn default() -> CreateTimeSeriesSummary
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreateTimeSeriesSummarywhere
CreateTimeSeriesSummary: Default,
impl<'de> Deserialize<'de> for CreateTimeSeriesSummarywhere
CreateTimeSeriesSummary: Default,
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 Message for CreateTimeSeriesSummary
impl Message for CreateTimeSeriesSummary
Source§impl PartialEq for CreateTimeSeriesSummary
impl PartialEq for CreateTimeSeriesSummary
Source§impl Serialize for CreateTimeSeriesSummary
impl Serialize for CreateTimeSeriesSummary
impl StructuralPartialEq for CreateTimeSeriesSummary
Auto Trait Implementations§
impl Freeze for CreateTimeSeriesSummary
impl RefUnwindSafe for CreateTimeSeriesSummary
impl Send for CreateTimeSeriesSummary
impl Sync for CreateTimeSeriesSummary
impl Unpin for CreateTimeSeriesSummary
impl UnwindSafe for CreateTimeSeriesSummary
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