pub struct ClickStackSessionSourceResponse {
pub connection: Option<String>,
pub disabled: Option<bool>,
pub from: Option<ClickStackSourceFromResponse>,
pub id: Option<String>,
pub kind: Option<ClickStackSessionSourceKind>,
pub name: Option<String>,
pub query_settings: Option<Vec<ClickStackQuerySettingResponse>>,
pub section: Option<String>,
pub timestamp_value_expression: Option<String>,
pub trace_source_id: Option<String>,
}Expand description
ClickStackSessionSource from the ClickHouse Cloud API, in response position.
Response variant of ClickStackSessionSource: 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<ClickStackSourceFromResponse>§id: Option<String>§kind: Option<ClickStackSessionSourceKind>§name: Option<String>§query_settings: Option<Vec<ClickStackQuerySettingResponse>>§section: Option<String>§timestamp_value_expression: Option<String>§trace_source_id: Option<String>Trait Implementations§
Source§impl Clone for ClickStackSessionSourceResponse
impl Clone for ClickStackSessionSourceResponse
Source§fn clone(&self) -> ClickStackSessionSourceResponse
fn clone(&self) -> ClickStackSessionSourceResponse
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 ClickStackSessionSourceResponse
impl Default for ClickStackSessionSourceResponse
Source§fn default() -> ClickStackSessionSourceResponse
fn default() -> ClickStackSessionSourceResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ClickStackSessionSourceResponse
impl<'de> Deserialize<'de> for ClickStackSessionSourceResponse
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 ClickStackSessionSourceResponse
Source§impl TryFrom<ClickStackSessionSourceResponse> for ClickStackSessionSource
impl TryFrom<ClickStackSessionSourceResponse> for ClickStackSessionSource
Source§type Error = MissingRequiredFields
type Error = MissingRequiredFields
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for ClickStackSessionSourceResponse
impl RefUnwindSafe for ClickStackSessionSourceResponse
impl Send for ClickStackSessionSourceResponse
impl Sync for ClickStackSessionSourceResponse
impl Unpin for ClickStackSessionSourceResponse
impl UnsafeUnpin for ClickStackSessionSourceResponse
impl UnwindSafe for ClickStackSessionSourceResponse
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