pub struct SearchKey {
pub start_time: Option<NaiveDateTime>,
pub end_time: Option<NaiveDateTime>,
pub sip: Option<IpAddr>,
pub dip: Option<IpAddr>,
pub sport: Option<u16>,
pub dport: Option<u16>,
pub protocol: Option<TransProto>,
}Fields§
§start_time: Option<NaiveDateTime>§end_time: Option<NaiveDateTime>§sip: Option<IpAddr>§dip: Option<IpAddr>§sport: Option<u16>§dport: Option<u16>§protocol: Option<TransProto>Trait Implementations§
impl Copy for SearchKey
impl Eq for SearchKey
impl StructuralPartialEq for SearchKey
Auto Trait Implementations§
impl Freeze for SearchKey
impl RefUnwindSafe for SearchKey
impl Send for SearchKey
impl Sync for SearchKey
impl Unpin for SearchKey
impl UnwindSafe for SearchKey
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.