[][src]Struct grapl_graph_descriptions::graph_description::IpConnection

pub struct IpConnection {
    pub node_key: String,
    pub src_ip_address: String,
    pub dst_ip_address: String,
    pub protocol: String,
    pub created_timestamp: u64,
    pub terminated_timestamp: u64,
    pub last_seen_timestamp: u64,
    pub state: u32,
}

Fields

node_key: Stringsrc_ip_address: Stringdst_ip_address: Stringprotocol: Stringcreated_timestamp: u64terminated_timestamp: u64last_seen_timestamp: u64state: u32

Implementations

impl IpConnection[src]

pub fn new(
    src_ip_address: impl Into<String>,
    dst_ip_address: impl Into<String>,
    protocol: impl Into<String>,
    state: IpConnectionState,
    created_timestamp: u64,
    terminated_timestamp: u64,
    last_seen_timestamp: u64
) -> Self
[src]

pub fn into_json(self) -> Value[src]

Trait Implementations

impl Clone for IpConnection[src]

impl Debug for IpConnection[src]

impl Default for IpConnection[src]

impl<'de> Deserialize<'de> for IpConnection[src]

impl Eq for IpConnection[src]

impl From<IpConnection> for Node[src]

impl Message for IpConnection[src]

impl NodeT for IpConnection[src]

impl PartialEq<IpConnection> for IpConnection[src]

impl Serialize for IpConnection[src]

impl StructuralEq for IpConnection[src]

impl StructuralPartialEq for IpConnection[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,