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