[][src]Struct k8s_openapi::api::admissionregistration::v1beta1::ServiceReference

pub struct ServiceReference {
    pub name: String,
    pub namespace: String,
    pub path: Option<String>,
    pub port: Option<i32>,
}

ServiceReference holds a reference to Service.legacy.k8s.io

Fields

name: String

name is the name of the service. Required

namespace: String

namespace is the namespace of the service. Required

path: Option<String>

path is an optional URL path which will be sent in any request to this service.

port: Option<i32>

If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. port should be a valid port number (1-65535, inclusive).

Trait Implementations

impl Clone for ServiceReference[src]

impl Debug for ServiceReference[src]

impl Default for ServiceReference[src]

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

impl PartialEq<ServiceReference> for ServiceReference[src]

impl Serialize for ServiceReference[src]

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