[−][src]Struct grapl_graph_descriptions::graph_description::IpConnection
Fields
node_key: String
src_ip_address: String
dst_ip_address: String
protocol: String
created_timestamp: u64
terminated_timestamp: u64
last_seen_timestamp: u64
state: 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]
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
pub fn into_json(self) -> Value
[src]
Trait Implementations
impl Clone for IpConnection
[src]
fn clone(&self) -> IpConnection
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for IpConnection
[src]
impl Default for IpConnection
[src]
fn default() -> IpConnection
[src]
impl<'de> Deserialize<'de> for IpConnection
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Eq for IpConnection
[src]
impl From<IpConnection> for Node
[src]
fn from(ip_connection: IpConnection) -> Self
[src]
impl Message for IpConnection
[src]
fn encode_raw<B>(&self, buf: &mut B) where
B: BufMut,
[src]
B: BufMut,
fn merge_field<B>(
&mut self,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError> where
B: Buf,
[src]
&mut self,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError> where
B: Buf,
fn encoded_len(&self) -> usize
[src]
fn clear(&mut self)
[src]
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError> where
B: BufMut,
[src]
B: BufMut,
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError> where
B: BufMut,
[src]
B: BufMut,
fn decode<B>(buf: B) -> Result<Self, DecodeError> where
B: Buf,
Self: Default,
[src]
B: Buf,
Self: Default,
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
B: Buf,
Self: Default,
[src]
B: Buf,
Self: Default,
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError> where
B: Buf,
[src]
B: Buf,
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError> where
B: Buf,
[src]
B: Buf,
impl NodeT for IpConnection
[src]
fn get_asset_id(&self) -> Option<&str>
[src]
fn set_asset_id(&mut self, _asset_id: impl Into<String>)
[src]
fn get_node_key(&self) -> &str
[src]
fn set_node_key(&mut self, node_key: impl Into<String>)
[src]
fn merge(&mut self, other: &Self) -> bool
[src]
fn merge_into(&mut self, other: Self) -> bool
[src]
fn clone_asset_id(&self) -> Option<String>
[src]
fn clone_node_key(&self) -> String
[src]
impl PartialEq<IpConnection> for IpConnection
[src]
fn eq(&self, other: &IpConnection) -> bool
[src]
fn ne(&self, other: &IpConnection) -> bool
[src]
impl Serialize for IpConnection
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralEq for IpConnection
[src]
impl StructuralPartialEq for IpConnection
[src]
Auto Trait Implementations
impl RefUnwindSafe for IpConnection
impl Send for IpConnection
impl Sync for IpConnection
impl Unpin for IpConnection
impl UnwindSafe for IpConnection
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,