pub struct PostgresMetric {
pub description: Option<String>,
pub key: Option<String>,
pub name: Option<String>,
pub series: Option<Vec<PostgresMetricSeries>>,
pub unit: Option<String>,
}Expand description
PostgresMetric from the ClickHouse Cloud API.
Fields§
§description: Option<String>§key: Option<String>§name: Option<String>§series: Option<Vec<PostgresMetricSeries>>§unit: Option<String>Trait Implementations§
Source§impl Clone for PostgresMetric
impl Clone for PostgresMetric
Source§fn clone(&self) -> PostgresMetric
fn clone(&self) -> PostgresMetric
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 PostgresMetric
impl Debug for PostgresMetric
Source§impl Default for PostgresMetric
impl Default for PostgresMetric
Source§fn default() -> PostgresMetric
fn default() -> PostgresMetric
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PostgresMetric
impl<'de> Deserialize<'de> for PostgresMetric
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 PostgresMetric
impl PartialEq for PostgresMetric
Source§impl Serialize for PostgresMetric
impl Serialize for PostgresMetric
impl StructuralPartialEq for PostgresMetric
Auto Trait Implementations§
impl Freeze for PostgresMetric
impl RefUnwindSafe for PostgresMetric
impl Send for PostgresMetric
impl Sync for PostgresMetric
impl Unpin for PostgresMetric
impl UnsafeUnpin for PostgresMetric
impl UnwindSafe for PostgresMetric
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