pub struct PrincipalConnectionCount {
pub principal: String,
pub count: u32,
}Expand description
Per-principal connection count entry on DaemonStatus.
Fields§
§principal: StringThe principal (agent) holding the connections.
count: u32Number of active connections owned by this principal.
Trait Implementations§
Source§impl Clone for PrincipalConnectionCount
impl Clone for PrincipalConnectionCount
Source§fn clone(&self) -> PrincipalConnectionCount
fn clone(&self) -> PrincipalConnectionCount
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 PrincipalConnectionCount
impl Debug for PrincipalConnectionCount
Source§impl<'de> Deserialize<'de> for PrincipalConnectionCount
impl<'de> Deserialize<'de> for PrincipalConnectionCount
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 PrincipalConnectionCount
impl RefUnwindSafe for PrincipalConnectionCount
impl Send for PrincipalConnectionCount
impl Sync for PrincipalConnectionCount
impl Unpin for PrincipalConnectionCount
impl UnsafeUnpin for PrincipalConnectionCount
impl UnwindSafe for PrincipalConnectionCount
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