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