pub struct NetworkSample {
pub ip: String,
pub port: u16,
pub protocol: String,
pub pid: Option<u32>,
pub process_name: Option<String>,
pub observed_at: DateTime<Utc>,
pub direction: NetworkDirection,
}Fields§
§ip: String§port: u16§protocol: String§pid: Option<u32>§process_name: Option<String>§observed_at: DateTime<Utc>§direction: NetworkDirectionTrait Implementations§
Source§impl Clone for NetworkSample
impl Clone for NetworkSample
Source§fn clone(&self) -> NetworkSample
fn clone(&self) -> NetworkSample
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 moreAuto Trait Implementations§
impl Freeze for NetworkSample
impl RefUnwindSafe for NetworkSample
impl Send for NetworkSample
impl Sync for NetworkSample
impl Unpin for NetworkSample
impl UnsafeUnpin for NetworkSample
impl UnwindSafe for NetworkSample
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