pub struct ConnectionIntelligence {Show 13 fields
pub remote_ip: IpAddr,
pub local_port: u16,
pub remote_port: u16,
pub protocol: String,
pub service_name: String,
pub geo_info: Option<GeoIpInfo>,
pub connection_duration: Duration,
pub bytes_transferred: u64,
pub packet_count: u64,
pub first_seen: SystemTime,
pub last_activity: SystemTime,
pub is_outbound: bool,
pub threat_indicators: Vec<ThreatIndicator>,
}Fields§
§remote_ip: IpAddr§local_port: u16§remote_port: u16§protocol: String§service_name: String§geo_info: Option<GeoIpInfo>§connection_duration: Duration§bytes_transferred: u64§packet_count: u64§first_seen: SystemTime§last_activity: SystemTime§is_outbound: bool§threat_indicators: Vec<ThreatIndicator>Trait Implementations§
Source§impl Clone for ConnectionIntelligence
impl Clone for ConnectionIntelligence
Source§fn clone(&self) -> ConnectionIntelligence
fn clone(&self) -> ConnectionIntelligence
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 ConnectionIntelligence
impl RefUnwindSafe for ConnectionIntelligence
impl Send for ConnectionIntelligence
impl Sync for ConnectionIntelligence
impl Unpin for ConnectionIntelligence
impl UnsafeUnpin for ConnectionIntelligence
impl UnwindSafe for ConnectionIntelligence
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more