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