pub struct PgHealth {
pub database: String,
pub user: String,
pub server_version: String,
pub schema_bootstrapped: bool,
pub schema_compatibility: Option<String>,
}Expand description
Health-check result for a direct PostgreSQL metadata connection.
Fields§
§database: String§user: String§server_version: String§schema_bootstrapped: bool§schema_compatibility: Option<String>Trait Implementations§
impl Eq for PgHealth
impl StructuralPartialEq for PgHealth
Auto Trait Implementations§
impl Freeze for PgHealth
impl RefUnwindSafe for PgHealth
impl Send for PgHealth
impl Sync for PgHealth
impl Unpin for PgHealth
impl UnsafeUnpin for PgHealth
impl UnwindSafe for PgHealth
Blanket Implementations§
§impl<T> AnyEq for T
impl<T> AnyEq for T
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more