pub struct LocalPostgresHeartbeatData {
pub status: PostgresHeartbeatStatus,
pub name: String,
pub port: Option<u16>,
pub version: String,
pub process_running: bool,
}Fields§
§status: PostgresHeartbeatStatus§name: String§port: Option<u16>§version: String§process_running: boolTrait Implementations§
Source§impl Clone for LocalPostgresHeartbeatData
impl Clone for LocalPostgresHeartbeatData
Source§fn clone(&self) -> LocalPostgresHeartbeatData
fn clone(&self) -> LocalPostgresHeartbeatData
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LocalPostgresHeartbeatData
impl Debug for LocalPostgresHeartbeatData
Source§impl<'de> Deserialize<'de> for LocalPostgresHeartbeatData
impl<'de> Deserialize<'de> for LocalPostgresHeartbeatData
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for LocalPostgresHeartbeatData
impl PartialEq for LocalPostgresHeartbeatData
Source§fn eq(&self, other: &LocalPostgresHeartbeatData) -> bool
fn eq(&self, other: &LocalPostgresHeartbeatData) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for LocalPostgresHeartbeatData
Auto Trait Implementations§
impl Freeze for LocalPostgresHeartbeatData
impl RefUnwindSafe for LocalPostgresHeartbeatData
impl Send for LocalPostgresHeartbeatData
impl Sync for LocalPostgresHeartbeatData
impl Unpin for LocalPostgresHeartbeatData
impl UnsafeUnpin for LocalPostgresHeartbeatData
impl UnwindSafe for LocalPostgresHeartbeatData
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