pub struct GetSettingResponse {
pub encrypted: bool,
pub key: String,
pub value: Option<String>,
}Expand description
GetSettingResponse
JSON schema
{
"type": "object",
"required": [
"encrypted",
"key",
"value"
],
"properties": {
"encrypted": {
"type": "boolean"
},
"key": {
"type": "string"
},
"value": {
"type": [
"string",
"null"
]
}
}
}Fields§
§encrypted: bool§key: String§value: Option<String>Implementations§
Source§impl GetSettingResponse
impl GetSettingResponse
pub fn builder() -> GetSettingResponse
Trait Implementations§
Source§impl Clone for GetSettingResponse
impl Clone for GetSettingResponse
Source§fn clone(&self) -> GetSettingResponse
fn clone(&self) -> GetSettingResponse
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 GetSettingResponse
impl Debug for GetSettingResponse
Source§impl<'de> Deserialize<'de> for GetSettingResponse
impl<'de> Deserialize<'de> for GetSettingResponse
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 From<&GetSettingResponse> for GetSettingResponse
impl From<&GetSettingResponse> for GetSettingResponse
Source§fn from(value: &GetSettingResponse) -> Self
fn from(value: &GetSettingResponse) -> Self
Converts to this type from the input type.
Source§impl From<GetSettingResponse> for GetSettingResponse
impl From<GetSettingResponse> for GetSettingResponse
Source§fn from(value: GetSettingResponse) -> Self
fn from(value: GetSettingResponse) -> Self
Converts to this type from the input type.
Source§impl Serialize for GetSettingResponse
impl Serialize for GetSettingResponse
Source§impl TryFrom<GetSettingResponse> for GetSettingResponse
impl TryFrom<GetSettingResponse> for GetSettingResponse
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: GetSettingResponse) -> Result<Self, ConversionError>
fn try_from(value: GetSettingResponse) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for GetSettingResponse
impl RefUnwindSafe for GetSettingResponse
impl Send for GetSettingResponse
impl Sync for GetSettingResponse
impl Unpin for GetSettingResponse
impl UnsafeUnpin for GetSettingResponse
impl UnwindSafe for GetSettingResponse
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