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