pub struct EmbeddedSslParams {
pub mode: Option<SslMode>,
pub root_cert: Option<PathBuf>,
}Expand description
libpq TLS parameters lifted out of a connection string.
Fields§
§mode: Option<SslMode>The sslmode= value, if it parsed.
root_cert: Option<PathBuf>The sslrootcert= path, if present.
Trait Implementations§
Source§impl Debug for EmbeddedSslParams
impl Debug for EmbeddedSslParams
Source§impl Default for EmbeddedSslParams
impl Default for EmbeddedSslParams
Source§fn default() -> EmbeddedSslParams
fn default() -> EmbeddedSslParams
Returns the “default value” for a type. Read more
impl Eq for EmbeddedSslParams
Source§impl PartialEq for EmbeddedSslParams
impl PartialEq for EmbeddedSslParams
impl StructuralPartialEq for EmbeddedSslParams
Auto Trait Implementations§
impl Freeze for EmbeddedSslParams
impl RefUnwindSafe for EmbeddedSslParams
impl Send for EmbeddedSslParams
impl Sync for EmbeddedSslParams
impl Unpin for EmbeddedSslParams
impl UnsafeUnpin for EmbeddedSslParams
impl UnwindSafe for EmbeddedSslParams
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