pub struct PostgresMetricDataPoint {
pub timestamp: Option<i64>,
pub value: Option<f64>,
}Expand description
PostgresMetricDataPoint from the ClickHouse Cloud API.
Fields§
§timestamp: Option<i64>§value: Option<f64>Trait Implementations§
Source§impl Clone for PostgresMetricDataPoint
impl Clone for PostgresMetricDataPoint
Source§fn clone(&self) -> PostgresMetricDataPoint
fn clone(&self) -> PostgresMetricDataPoint
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PostgresMetricDataPoint
impl Debug for PostgresMetricDataPoint
Source§impl Default for PostgresMetricDataPoint
impl Default for PostgresMetricDataPoint
Source§fn default() -> PostgresMetricDataPoint
fn default() -> PostgresMetricDataPoint
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PostgresMetricDataPoint
impl<'de> Deserialize<'de> for PostgresMetricDataPoint
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 PartialEq for PostgresMetricDataPoint
impl PartialEq for PostgresMetricDataPoint
Source§impl Serialize for PostgresMetricDataPoint
impl Serialize for PostgresMetricDataPoint
impl StructuralPartialEq for PostgresMetricDataPoint
Auto Trait Implementations§
impl Freeze for PostgresMetricDataPoint
impl RefUnwindSafe for PostgresMetricDataPoint
impl Send for PostgresMetricDataPoint
impl Sync for PostgresMetricDataPoint
impl Unpin for PostgresMetricDataPoint
impl UnsafeUnpin for PostgresMetricDataPoint
impl UnwindSafe for PostgresMetricDataPoint
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