pub struct PostgresqlSslConfig {
pub server_and_client_verification: Option<ServerAndClientVerification>,
pub server_verification: Option<ServerVerification>,
}Expand description
PostgreSQL SSL configuration information.
This type is not used in any activity, and only used as part of another schema.
Fields§
§server_and_client_verification: Option<ServerAndClientVerification>If this field is set, the communication will be encrypted with TLS encryption and both the server identity and the client identity will be authenticated.
server_verification: Option<ServerVerification>If this field is set, the communication will be encrypted with TLS encryption and the server identity will be authenticated.
Trait Implementations§
Source§impl Clone for PostgresqlSslConfig
impl Clone for PostgresqlSslConfig
Source§fn clone(&self) -> PostgresqlSslConfig
fn clone(&self) -> PostgresqlSslConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 PostgresqlSslConfig
impl Debug for PostgresqlSslConfig
Source§impl Default for PostgresqlSslConfig
impl Default for PostgresqlSslConfig
Source§fn default() -> PostgresqlSslConfig
fn default() -> PostgresqlSslConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PostgresqlSslConfig
impl<'de> Deserialize<'de> for PostgresqlSslConfig
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 Serialize for PostgresqlSslConfig
impl Serialize for PostgresqlSslConfig
impl Part for PostgresqlSslConfig
Auto Trait Implementations§
impl Freeze for PostgresqlSslConfig
impl RefUnwindSafe for PostgresqlSslConfig
impl Send for PostgresqlSslConfig
impl Sync for PostgresqlSslConfig
impl Unpin for PostgresqlSslConfig
impl UnwindSafe for PostgresqlSslConfig
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