pub enum ExternalRedisBindingPassword {
Variant0(String),
Variant1(ExternalPasswordSecretKeyRef),
}Expand description
ExternalRedisBindingPassword
JSON schema
{
"oneOf": [
{
"type": "string"
},
{
"$ref": "#/components/schemas/ExternalPasswordSecretKeyRef"
}
]
}Variants§
Variant0(String)
Variant1(ExternalPasswordSecretKeyRef)
Trait Implementations§
Source§impl Clone for ExternalRedisBindingPassword
impl Clone for ExternalRedisBindingPassword
Source§impl Debug for ExternalRedisBindingPassword
impl Debug for ExternalRedisBindingPassword
Source§impl<'de> Deserialize<'de> for ExternalRedisBindingPassword
impl<'de> Deserialize<'de> for ExternalRedisBindingPassword
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<&ExternalRedisBindingPassword> for ExternalRedisBindingPassword
impl From<&ExternalRedisBindingPassword> for ExternalRedisBindingPassword
Source§fn from(value: &ExternalRedisBindingPassword) -> Self
fn from(value: &ExternalRedisBindingPassword) -> Self
Converts to this type from the input type.
Source§impl From<ExternalPasswordSecretKeyRef> for ExternalRedisBindingPassword
impl From<ExternalPasswordSecretKeyRef> for ExternalRedisBindingPassword
Source§fn from(value: ExternalPasswordSecretKeyRef) -> Self
fn from(value: ExternalPasswordSecretKeyRef) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Forget for ExternalRedisBindingPassword
impl Freeze for ExternalRedisBindingPassword
impl RefUnwindSafe for ExternalRedisBindingPassword
impl Send for ExternalRedisBindingPassword
impl Sync for ExternalRedisBindingPassword
impl Unpin for ExternalRedisBindingPassword
impl UnsafeUnpin for ExternalRedisBindingPassword
impl UnwindSafe for ExternalRedisBindingPassword
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