pub struct BrokerStats {
pub url: String,
pub connected: bool,
pub heartbeat: Option<u64>,
pub transport: String,
}Expand description
Broker connection statistics
Fields§
§url: StringBroker URL (sanitized, no credentials)
connected: boolConnection status
heartbeat: Option<u64>Heartbeat interval
transport: StringTransport type
Trait Implementations§
Source§impl Clone for BrokerStats
impl Clone for BrokerStats
Source§fn clone(&self) -> BrokerStats
fn clone(&self) -> BrokerStats
Returns a duplicate of the value. Read more
1.0.0 · 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 BrokerStats
impl Debug for BrokerStats
Source§impl<'de> Deserialize<'de> for BrokerStats
impl<'de> Deserialize<'de> for BrokerStats
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
Auto Trait Implementations§
impl Freeze for BrokerStats
impl RefUnwindSafe for BrokerStats
impl Send for BrokerStats
impl Sync for BrokerStats
impl Unpin for BrokerStats
impl UnwindSafe for BrokerStats
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