pub struct ProtocolObservation {
pub protocol: String,
pub connection_result: String,
pub bytes_sent: u64,
pub bytes_received: u64,
pub status_code: Option<u16>,
}Fields§
§protocol: String§connection_result: String§bytes_sent: u64§bytes_received: u64§status_code: Option<u16>Trait Implementations§
Source§impl Clone for ProtocolObservation
impl Clone for ProtocolObservation
Source§fn clone(&self) -> ProtocolObservation
fn clone(&self) -> ProtocolObservation
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 ProtocolObservation
impl Debug for ProtocolObservation
Source§impl<'de> Deserialize<'de> for ProtocolObservation
impl<'de> Deserialize<'de> for ProtocolObservation
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 ProtocolObservation
impl RefUnwindSafe for ProtocolObservation
impl Send for ProtocolObservation
impl Sync for ProtocolObservation
impl Unpin for ProtocolObservation
impl UnsafeUnpin for ProtocolObservation
impl UnwindSafe for ProtocolObservation
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