pub struct ClickStackMetricSourceResponse {
pub connection: Option<String>,
pub disabled: Option<bool>,
pub from: Option<ClickStackMetricSourceFromResponse>,
pub id: Option<String>,
pub kind: Option<ClickStackMetricSourceKind>,
pub log_source_id: Option<String>,
pub metric_tables: Option<ClickStackMetricTablesResponse>,
pub name: Option<String>,
pub query_settings: Option<Vec<ClickStackQuerySettingResponse>>,
pub resource_attributes_expression: Option<String>,
pub section: Option<String>,
pub timestamp_value_expression: Option<String>,
}Expand description
ClickStackMetricSource from the ClickHouse Cloud API, in response position.
Response variant of ClickStackMetricSource: every field is Option<T>,
so a field the API drops or sends as null deserializes to None instead
of failing.
Fields§
§connection: Option<String>§disabled: Option<bool>§from: Option<ClickStackMetricSourceFromResponse>§id: Option<String>§kind: Option<ClickStackMetricSourceKind>§log_source_id: Option<String>§metric_tables: Option<ClickStackMetricTablesResponse>§name: Option<String>§query_settings: Option<Vec<ClickStackQuerySettingResponse>>§resource_attributes_expression: Option<String>§section: Option<String>§timestamp_value_expression: Option<String>Trait Implementations§
Source§impl Clone for ClickStackMetricSourceResponse
impl Clone for ClickStackMetricSourceResponse
Source§fn clone(&self) -> ClickStackMetricSourceResponse
fn clone(&self) -> ClickStackMetricSourceResponse
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 Default for ClickStackMetricSourceResponse
impl Default for ClickStackMetricSourceResponse
Source§fn default() -> ClickStackMetricSourceResponse
fn default() -> ClickStackMetricSourceResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ClickStackMetricSourceResponse
impl<'de> Deserialize<'de> for ClickStackMetricSourceResponse
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
impl StructuralPartialEq for ClickStackMetricSourceResponse
Source§impl TryFrom<ClickStackMetricSourceResponse> for ClickStackMetricSource
impl TryFrom<ClickStackMetricSourceResponse> for ClickStackMetricSource
Source§type Error = MissingRequiredFields
type Error = MissingRequiredFields
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for ClickStackMetricSourceResponse
impl RefUnwindSafe for ClickStackMetricSourceResponse
impl Send for ClickStackMetricSourceResponse
impl Sync for ClickStackMetricSourceResponse
impl Unpin for ClickStackMetricSourceResponse
impl UnsafeUnpin for ClickStackMetricSourceResponse
impl UnwindSafe for ClickStackMetricSourceResponse
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