pub struct PgHbaRule {
pub rule_type: String,
pub database: String,
pub user: String,
pub address: Option<String>,
pub method: String,
pub raw_line: String,
}Expand description
pg_hba.conf rule
Fields§
§rule_type: StringConnection type (local, host, hostssl, hostnossl)
database: StringDatabase name
user: StringUser name
address: Option<String>IP address/CIDR (for host connections)
method: StringAuthentication method
raw_line: StringRaw line from config
Trait Implementations§
impl StructuralPartialEq for PgHbaRule
Auto Trait Implementations§
impl Freeze for PgHbaRule
impl RefUnwindSafe for PgHbaRule
impl Send for PgHbaRule
impl Sync for PgHbaRule
impl Unpin for PgHbaRule
impl UnwindSafe for PgHbaRule
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