[][src]Struct grapl_graph_descriptions::graph_description::ProcessInboundConnection

pub struct ProcessInboundConnection {
    pub node_key: String,
    pub asset_id: Option<String>,
    pub hostname: Option<String>,
    pub state: u32,
    pub created_timestamp: u64,
    pub terminated_timestamp: u64,
    pub last_seen_timestamp: u64,
    pub port: u32,
    pub ip_address: String,
    pub protocol: String,
}

Identity = Session(asset_id + port + ip_address, created_timestamp)

Fields

node_key: Stringasset_id: Option<String>hostname: Option<String>state: u32

1 = Created, 2 = Terminated, 3 = Existing

created_timestamp: u64terminated_timestamp: u64last_seen_timestamp: u64port: u32ip_address: Stringprotocol: String

Implementations

impl ProcessInboundConnection[src]

pub fn new(
    asset_id: impl Into<Option<String>>,
    hostname: impl Into<Option<String>>,
    state: ProcessInboundConnectionState,
    port: u16,
    ip_address: impl Into<String>,
    protocol: impl Into<String>,
    created_timestamp: u64,
    terminated_timestamp: u64,
    last_seen_timestamp: u64
) -> Self
[src]

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

Trait Implementations

impl Clone for ProcessInboundConnection[src]

impl Debug for ProcessInboundConnection[src]

impl Default for ProcessInboundConnection[src]

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

impl Eq for ProcessInboundConnection[src]

impl From<ProcessInboundConnection> for Node[src]

impl Message for ProcessInboundConnection[src]

impl NodeT for ProcessInboundConnection[src]

impl PartialEq<ProcessInboundConnection> for ProcessInboundConnection[src]

impl Serialize for ProcessInboundConnection[src]

impl StructuralEq for ProcessInboundConnection[src]

impl StructuralPartialEq for ProcessInboundConnection[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>,