Struct MetadataProbeConfig
pub struct MetadataProbeConfig<'a> {
pub host: &'a str,
pub routing_address: Option<&'a str>,
pub port: u16,
pub database: &'a str,
pub username: &'a str,
pub password: &'a str,
pub tls: &'a LibpqOAuthTls,
}Expand description
Explicit service identity for a read-only metadata diagnostic. No login is acquired.
Fields§
§host: &'a str§routing_address: Option<&'a str>§port: u16§database: &'a str§username: &'a str§password: &'a str§tls: &'a LibpqOAuthTlsAuto Trait Implementations§
impl<'a> Freeze for LibpqServiceProbeConfig<'a>
impl<'a> RefUnwindSafe for LibpqServiceProbeConfig<'a>
impl<'a> Send for LibpqServiceProbeConfig<'a>
impl<'a> Sync for LibpqServiceProbeConfig<'a>
impl<'a> Unpin for LibpqServiceProbeConfig<'a>
impl<'a> UnsafeUnpin for LibpqServiceProbeConfig<'a>
impl<'a> UnwindSafe for LibpqServiceProbeConfig<'a>
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