pub struct NetworkConnectionBuilder { /* private fields */ }
Expand description
Builder for NetworkConnection
.
Implementations§
Source§impl NetworkConnectionBuilder
impl NetworkConnectionBuilder
pub fn node_key<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn src_ip_address<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn dst_ip_address<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn protocol<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn src_port<VALUE: Into<u32>>(&mut self, value: VALUE) -> &mut Self
pub fn dst_port<VALUE: Into<u32>>(&mut self, value: VALUE) -> &mut Self
pub fn created_timestamp<VALUE: Into<u64>>(&mut self, value: VALUE) -> &mut Self
pub fn terminated_timestamp<VALUE: Into<u64>>( &mut self, value: VALUE, ) -> &mut Self
pub fn last_seen_timestamp<VALUE: Into<u64>>( &mut self, value: VALUE, ) -> &mut Self
pub fn state<VALUE: Into<u32>>(&mut self, value: VALUE) -> &mut Self
Trait Implementations§
Source§impl Clone for NetworkConnectionBuilder
impl Clone for NetworkConnectionBuilder
Source§fn clone(&self) -> NetworkConnectionBuilder
fn clone(&self) -> NetworkConnectionBuilder
Returns a duplicate 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 Default for NetworkConnectionBuilder
impl Default for NetworkConnectionBuilder
Source§fn default() -> NetworkConnectionBuilder
fn default() -> NetworkConnectionBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for NetworkConnectionBuilder
impl RefUnwindSafe for NetworkConnectionBuilder
impl Send for NetworkConnectionBuilder
impl Sync for NetworkConnectionBuilder
impl Unpin for NetworkConnectionBuilder
impl UnwindSafe for NetworkConnectionBuilder
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