pub struct ConnectionCounts {
pub proto: Option<String>,
pub src: Option<String>,
pub dst: Option<String>,
pub tx_pkts: Option<i64>,
pub tx_bytes: Option<i64>,
pub rx_pkts: Option<i64>,
pub rx_bytes: Option<i64>,
pub unknown: Unknown,
}Expand description
Traffic between two addresses over one protocol.
Fields§
§proto: Option<String>One of FLOW_PROTOCOLS, or the protocol number for anything else.
src: Option<String>addr:port.
dst: Option<String>addr:port.
tx_pkts: Option<i64>§tx_bytes: Option<i64>§rx_pkts: Option<i64>§rx_bytes: Option<i64>§unknown: UnknownEverything the description did not mention, kept so that a control plane ahead of this build still answers usefully.
Implementations§
Trait Implementations§
Source§impl Clone for ConnectionCounts
impl Clone for ConnectionCounts
Source§fn clone(&self) -> ConnectionCounts
fn clone(&self) -> ConnectionCounts
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 ConnectionCounts
impl Debug for ConnectionCounts
Source§impl<'de> Deserialize<'de> for ConnectionCounts
impl<'de> Deserialize<'de> for ConnectionCounts
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 ConnectionCounts
impl PartialEq for ConnectionCounts
Source§impl Serialize for ConnectionCounts
impl Serialize for ConnectionCounts
impl StructuralPartialEq for ConnectionCounts
Auto Trait Implementations§
impl Freeze for ConnectionCounts
impl RefUnwindSafe for ConnectionCounts
impl Send for ConnectionCounts
impl Sync for ConnectionCounts
impl Unpin for ConnectionCounts
impl UnsafeUnpin for ConnectionCounts
impl UnwindSafe for ConnectionCounts
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