pub struct Connections {Show 27 fields
pub tombstone: Option<i32>,
pub status: Option<String>,
pub previous_status: Option<String>,
pub version: Option<i32>,
pub created_date: Option<String>,
pub created_time: Option<String>,
pub updated_date: Option<String>,
pub updated_time: Option<String>,
pub organization_id: Option<String>,
pub created_by: Option<String>,
pub updated_by: Option<String>,
pub deleted_by: Option<String>,
pub requested_by: Option<String>,
pub tags: Vec<String>,
pub id: String,
pub timestamp: String,
pub interface_name: Option<String>,
pub hypertable_timestamp: Option<String>,
pub total_packet: Option<i32>,
pub total_byte: Option<i32>,
pub device_id: Option<String>,
pub protocol: Option<String>,
pub source_ip: Option<String>,
pub destination_ip: Option<String>,
pub remote_ip: Option<String>,
pub source_port: Option<i32>,
pub destination_port: Option<i32>,
}Expand description
Connections entity definition
Fields§
§tombstone: Option<i32>§status: Option<String>§previous_status: Option<String>§version: Option<i32>§created_date: Option<String>§created_time: Option<String>§updated_date: Option<String>§updated_time: Option<String>§organization_id: Option<String>§created_by: Option<String>§updated_by: Option<String>§deleted_by: Option<String>§requested_by: Option<String>§id: String§timestamp: String§interface_name: Option<String>§hypertable_timestamp: Option<String>§total_packet: Option<i32>§total_byte: Option<i32>§device_id: Option<String>§protocol: Option<String>§source_ip: Option<String>§destination_ip: Option<String>§remote_ip: Option<String>§source_port: Option<i32>§destination_port: Option<i32>Implementations§
Source§impl Connections
impl Connections
Sourcepub fn tombstone(&self) -> i32
pub fn tombstone(&self) -> i32
Returns the value of tombstone, or the default value if tombstone is unset.
Sourcepub fn status(&self) -> &str
pub fn status(&self) -> &str
Returns the value of status, or the default value if status is unset.
Sourcepub fn previous_status(&self) -> &str
pub fn previous_status(&self) -> &str
Returns the value of previous_status, or the default value if previous_status is unset.
Sourcepub fn version(&self) -> i32
pub fn version(&self) -> i32
Returns the value of version, or the default value if version is unset.
Sourcepub fn created_date(&self) -> &str
pub fn created_date(&self) -> &str
Returns the value of created_date, or the default value if created_date is unset.
Sourcepub fn created_time(&self) -> &str
pub fn created_time(&self) -> &str
Returns the value of created_time, or the default value if created_time is unset.
Sourcepub fn updated_date(&self) -> &str
pub fn updated_date(&self) -> &str
Returns the value of updated_date, or the default value if updated_date is unset.
Sourcepub fn updated_time(&self) -> &str
pub fn updated_time(&self) -> &str
Returns the value of updated_time, or the default value if updated_time is unset.
Sourcepub fn organization_id(&self) -> &str
pub fn organization_id(&self) -> &str
Returns the value of organization_id, or the default value if organization_id is unset.
Sourcepub fn created_by(&self) -> &str
pub fn created_by(&self) -> &str
Returns the value of created_by, or the default value if created_by is unset.
Sourcepub fn updated_by(&self) -> &str
pub fn updated_by(&self) -> &str
Returns the value of updated_by, or the default value if updated_by is unset.
Sourcepub fn deleted_by(&self) -> &str
pub fn deleted_by(&self) -> &str
Returns the value of deleted_by, or the default value if deleted_by is unset.
Sourcepub fn requested_by(&self) -> &str
pub fn requested_by(&self) -> &str
Returns the value of requested_by, or the default value if requested_by is unset.
Sourcepub fn interface_name(&self) -> &str
pub fn interface_name(&self) -> &str
Returns the value of interface_name, or the default value if interface_name is unset.
Sourcepub fn hypertable_timestamp(&self) -> &str
pub fn hypertable_timestamp(&self) -> &str
Returns the value of hypertable_timestamp, or the default value if hypertable_timestamp is unset.
Sourcepub fn total_packet(&self) -> i32
pub fn total_packet(&self) -> i32
Returns the value of total_packet, or the default value if total_packet is unset.
Sourcepub fn total_byte(&self) -> i32
pub fn total_byte(&self) -> i32
Returns the value of total_byte, or the default value if total_byte is unset.
Sourcepub fn device_id(&self) -> &str
pub fn device_id(&self) -> &str
Returns the value of device_id, or the default value if device_id is unset.
Sourcepub fn protocol(&self) -> &str
pub fn protocol(&self) -> &str
Returns the value of protocol, or the default value if protocol is unset.
Sourcepub fn source_ip(&self) -> &str
pub fn source_ip(&self) -> &str
Returns the value of source_ip, or the default value if source_ip is unset.
Sourcepub fn destination_ip(&self) -> &str
pub fn destination_ip(&self) -> &str
Returns the value of destination_ip, or the default value if destination_ip is unset.
Sourcepub fn remote_ip(&self) -> &str
pub fn remote_ip(&self) -> &str
Returns the value of remote_ip, or the default value if remote_ip is unset.
Sourcepub fn source_port(&self) -> i32
pub fn source_port(&self) -> i32
Returns the value of source_port, or the default value if source_port is unset.
Sourcepub fn destination_port(&self) -> i32
pub fn destination_port(&self) -> i32
Returns the value of destination_port, or the default value if destination_port is unset.
Trait Implementations§
Source§impl Clone for Connections
impl Clone for Connections
Source§fn clone(&self) -> Connections
fn clone(&self) -> Connections
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for Connections
impl Debug for Connections
Source§impl Default for Connections
impl Default for Connections
Source§impl Message for Connections
impl Message for Connections
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self.Source§impl PartialEq for Connections
impl PartialEq for Connections
impl StructuralPartialEq for Connections
Auto Trait Implementations§
impl Freeze for Connections
impl RefUnwindSafe for Connections
impl Send for Connections
impl Sync for Connections
impl Unpin for Connections
impl UnwindSafe for Connections
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request