pub struct ConnectionStarted {
pub ip_version: Option<String>,
pub src_ip: String,
pub dst_ip: String,
pub protocol: Option<String>,
pub src_port: Option<u16>,
pub dst_port: Option<u16>,
pub src_cid: Option<Bytes>,
pub dst_cid: Option<Bytes>,
}
Fields§
§ip_version: Option<String>
§src_ip: String
§dst_ip: String
§protocol: Option<String>
§src_port: Option<u16>
§dst_port: Option<u16>
§src_cid: Option<Bytes>
§dst_cid: Option<Bytes>
Trait Implementations§
Source§impl Clone for ConnectionStarted
impl Clone for ConnectionStarted
Source§fn clone(&self) -> ConnectionStarted
fn clone(&self) -> ConnectionStarted
Returns a copy of the value. Read more
1.0.0 · 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 ConnectionStarted
impl Debug for ConnectionStarted
Source§impl<'de> Deserialize<'de> for ConnectionStarted
impl<'de> Deserialize<'de> for ConnectionStarted
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 ConnectionStarted
impl PartialEq for ConnectionStarted
Source§impl Serialize for ConnectionStarted
impl Serialize for ConnectionStarted
impl Eq for ConnectionStarted
impl StructuralPartialEq for ConnectionStarted
Auto Trait Implementations§
impl Freeze for ConnectionStarted
impl RefUnwindSafe for ConnectionStarted
impl Send for ConnectionStarted
impl Sync for ConnectionStarted
impl Unpin for ConnectionStarted
impl UnwindSafe for ConnectionStarted
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.