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