Struct google_networkmanagement1::api::EndpointInfo
source · pub struct EndpointInfo {
pub destination_ip: Option<String>,
pub destination_network_uri: Option<String>,
pub destination_port: Option<i32>,
pub protocol: Option<String>,
pub source_agent_uri: Option<String>,
pub source_ip: Option<String>,
pub source_network_uri: Option<String>,
pub source_port: Option<i32>,
}
Expand description
For display only. The specification of the endpoints for the test. EndpointInfo is derived from source and destination Endpoint and validated by the backend data plane model.
This type is not used in any activity, and only used as part of another schema.
Fields§
§destination_ip: Option<String>
Destination IP address.
destination_network_uri: Option<String>
URI of the network where this packet is sent to.
destination_port: Option<i32>
Destination port. Only valid when protocol is TCP or UDP.
protocol: Option<String>
IP protocol in string format, for example: “TCP”, “UDP”, “ICMP”.
source_agent_uri: Option<String>
URI of the source telemetry agent this packet originates from.
source_ip: Option<String>
Source IP address.
source_network_uri: Option<String>
URI of the network where this packet originates from.
source_port: Option<i32>
Source port. Only valid when protocol is TCP or UDP.
Trait Implementations§
source§impl Clone for EndpointInfo
impl Clone for EndpointInfo
source§fn clone(&self) -> EndpointInfo
fn clone(&self) -> EndpointInfo
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 EndpointInfo
impl Debug for EndpointInfo
source§impl Default for EndpointInfo
impl Default for EndpointInfo
source§fn default() -> EndpointInfo
fn default() -> EndpointInfo
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for EndpointInfo
impl<'de> Deserialize<'de> for EndpointInfo
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 EndpointInfo
impl Serialize for EndpointInfo
impl Part for EndpointInfo
Auto Trait Implementations§
impl RefUnwindSafe for EndpointInfo
impl Send for EndpointInfo
impl Sync for EndpointInfo
impl Unpin for EndpointInfo
impl UnwindSafe for EndpointInfo
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