[][src]Struct google_networkmanagement1::EndpointInfo

pub struct EndpointInfo {
    pub protocol: Option<String>,
    pub destination_port: Option<i32>,
    pub destination_ip: Option<String>,
    pub source_port: Option<i32>,
    pub source_ip: Option<String>,
    pub destination_network_uri: Option<String>,
    pub source_network_uri: Option<String>,
}

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

protocol: Option<String>

IP protocol in string format, for example: "TCP", "UDP", "ICMP".

destination_port: Option<i32>

Destination port. Only valid when protocol is TCP or UDP.

destination_ip: Option<String>

Destination IP address.

source_port: Option<i32>

Source port. Only valid when protocol is TCP or UDP.

source_ip: Option<String>

Source IP address.

destination_network_uri: Option<String>

URI of the network where this packet is sent to.

source_network_uri: Option<String>

URI of the network where this packet originates from.

Trait Implementations

impl Clone for EndpointInfo[src]

impl Debug for EndpointInfo[src]

impl Default for EndpointInfo[src]

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

impl Part for EndpointInfo[src]

impl Serialize for EndpointInfo[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<T> Typeable for T where
    T: Any