Struct google_securitycenter1::api::Connection
source · pub struct Connection {
pub destination_ip: Option<String>,
pub destination_port: Option<i32>,
pub protocol: Option<String>,
pub source_ip: Option<String>,
pub source_port: Option<i32>,
}
Expand description
Contains information about the IP connection associated with the finding.
This type is not used in any activity, and only used as part of another schema.
Fields§
§destination_ip: Option<String>
Destination IP address. Not present for sockets that are listening and not connected.
destination_port: Option<i32>
Destination port. Not present for sockets that are listening and not connected.
protocol: Option<String>
IANA Internet Protocol Number such as TCP(6) and UDP(17).
source_ip: Option<String>
Source IP address.
source_port: Option<i32>
Source port.
Trait Implementations§
source§impl Clone for Connection
impl Clone for Connection
source§fn clone(&self) -> Connection
fn clone(&self) -> Connection
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for Connection
impl Debug for Connection
source§impl Default for Connection
impl Default for Connection
source§fn default() -> Connection
fn default() -> Connection
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for Connection
impl<'de> Deserialize<'de> for Connection
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Serialize for Connection
impl Serialize for Connection
impl Part for Connection
Auto Trait Implementations§
impl RefUnwindSafe for Connection
impl Send for Connection
impl Sync for Connection
impl Unpin for Connection
impl UnwindSafe for Connection
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