pub struct ServerInfo {
pub version_num: i32,
pub version: String,
pub wal_level: String,
pub max_replication_slots: i32,
pub max_wal_senders: i32,
pub max_slot_wal_keep_size: String,
pub wal_sender_timeout: String,
pub wal_sender_timeout_ms: i64,
pub current_wal_lsn: Lsn,
pub slots_in_use: i64,
pub system_identifier: String,
pub dbname: String,
}Fields§
§version_num: i32§version: String§wal_level: String§max_replication_slots: i32§max_wal_senders: i32§max_slot_wal_keep_size: String§wal_sender_timeout: String§wal_sender_timeout_ms: i64§current_wal_lsn: Lsn§slots_in_use: i64§system_identifier: String§dbname: StringTrait Implementations§
Source§impl Clone for ServerInfo
impl Clone for ServerInfo
Source§impl Debug for ServerInfo
impl Debug for ServerInfo
Auto Trait Implementations§
impl Freeze for ServerInfo
impl RefUnwindSafe for ServerInfo
impl Send for ServerInfo
impl Sync for ServerInfo
impl Unpin for ServerInfo
impl UnsafeUnpin for ServerInfo
impl UnwindSafe for ServerInfo
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