[][src]Struct k8s_openapi::api::networking::v1::ServiceBackendPort

pub struct ServiceBackendPort {
    pub name: Option<String>,
    pub number: Option<i32>,
}

ServiceBackendPort is the service port being referenced.

Fields

name: Option<String>

Name is the name of the port on the Service. This is a mutually exclusive setting with "Number".

number: Option<i32>

Number is the numerical port number (e.g. 80) on the Service. This is a mutually exclusive setting with "Name".

Trait Implementations

impl Clone for ServiceBackendPort[src]

impl Debug for ServiceBackendPort[src]

impl Default for ServiceBackendPort[src]

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

impl PartialEq<ServiceBackendPort> for ServiceBackendPort[src]

impl Serialize for ServiceBackendPort[src]

impl StructuralPartialEq for ServiceBackendPort[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.