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