Struct k8s_openapi::v1_7::kubernetes::pkg::api::v1::EndpointPort [−][src]
EndpointPort is a tuple that describes a single port.
Fields
name: Option<String>
The name of this port (corresponds to ServicePort.Name). Must be a DNS_LABEL. Optional only if one port is defined.
port: i32
The port number of the endpoint.
protocol: Option<String>
The IP protocol for this port. Must be UDP or TCP. Default is TCP.
Trait Implementations
impl Clone for EndpointPort[src]
impl Clone for EndpointPortfn clone(&self) -> EndpointPort[src]
fn clone(&self) -> EndpointPortReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Debug for EndpointPort[src]
impl Debug for EndpointPortfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Default for EndpointPort[src]
impl Default for EndpointPortfn default() -> EndpointPort[src]
fn default() -> EndpointPortReturns the "default value" for a type. Read more
impl PartialEq for EndpointPort[src]
impl PartialEq for EndpointPortfn eq(&self, other: &EndpointPort) -> bool[src]
fn eq(&self, other: &EndpointPort) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &EndpointPort) -> bool[src]
fn ne(&self, other: &EndpointPort) -> boolThis method tests for !=.
impl<'de> Deserialize<'de> for EndpointPort[src]
impl<'de> Deserialize<'de> for EndpointPortfn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>, [src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>, Deserialize this value from the given Serde deserializer. Read more
impl Serialize for EndpointPort[src]
impl Serialize for EndpointPortAuto Trait Implementations
impl Send for EndpointPort
impl Send for EndpointPortimpl Sync for EndpointPort
impl Sync for EndpointPort