pub enum ExternalPostgresSslMode {
VerifyFull,
Disable,
}Expand description
TLS policy for an operator-provided / BYO Postgres database.
Unlike libpq’s ambiguous prefer mode, both choices map exactly to the
connection settings exposed by every supported SDK.
JSON schema
{
"description": "TLS policy for an operator-provided / BYO Postgres database.\n\nUnlike libpq's ambiguous `prefer` mode, both choices map exactly to the\nconnection settings exposed by every supported SDK.",
"type": "string",
"enum": [
"verify-full",
"disable"
]
}Variants§
Trait Implementations§
Source§impl Clone for ExternalPostgresSslMode
impl Clone for ExternalPostgresSslMode
impl Copy for ExternalPostgresSslMode
Source§impl Debug for ExternalPostgresSslMode
impl Debug for ExternalPostgresSslMode
Source§impl<'de> Deserialize<'de> for ExternalPostgresSslMode
impl<'de> Deserialize<'de> for ExternalPostgresSslMode
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 Display for ExternalPostgresSslMode
impl Display for ExternalPostgresSslMode
impl Eq for ExternalPostgresSslMode
Source§impl From<&ExternalPostgresSslMode> for ExternalPostgresSslMode
impl From<&ExternalPostgresSslMode> for ExternalPostgresSslMode
Source§fn from(value: &ExternalPostgresSslMode) -> Self
fn from(value: &ExternalPostgresSslMode) -> Self
Converts to this type from the input type.
Source§impl FromStr for ExternalPostgresSslMode
impl FromStr for ExternalPostgresSslMode
Source§impl Hash for ExternalPostgresSslMode
impl Hash for ExternalPostgresSslMode
Source§impl Ord for ExternalPostgresSslMode
impl Ord for ExternalPostgresSslMode
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for ExternalPostgresSslMode
impl PartialEq for ExternalPostgresSslMode
Source§impl PartialOrd for ExternalPostgresSslMode
impl PartialOrd for ExternalPostgresSslMode
Source§impl Serialize for ExternalPostgresSslMode
impl Serialize for ExternalPostgresSslMode
impl StructuralPartialEq for ExternalPostgresSslMode
Source§impl TryFrom<&String> for ExternalPostgresSslMode
impl TryFrom<&String> for ExternalPostgresSslMode
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<&str> for ExternalPostgresSslMode
impl TryFrom<&str> for ExternalPostgresSslMode
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<String> for ExternalPostgresSslMode
impl TryFrom<String> for ExternalPostgresSslMode
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Forget for ExternalPostgresSslMode
impl Freeze for ExternalPostgresSslMode
impl Move for ExternalPostgresSslMode
impl RefUnwindSafe for ExternalPostgresSslMode
impl Send for ExternalPostgresSslMode
impl Sync for ExternalPostgresSslMode
impl Unpin for ExternalPostgresSslMode
impl UnsafeUnpin for ExternalPostgresSslMode
impl UnwindSafe for ExternalPostgresSslMode
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