Struct k8s_openapi_ext::apiextensionsv1::ServiceReference  
source · [−]pub struct ServiceReference {
    pub name: String,
    pub namespace: String,
    pub path: Option<String>,
    pub port: Option<i32>,
}Expand description
ServiceReference holds a reference to Service.legacy.k8s.io
Fields
name: Stringname is the name of the service. Required
namespace: Stringnamespace is the namespace of the service. Required
path: Option<String>path is an optional URL path at which the webhook will be contacted.
port: Option<i32>port is an optional service port at which the webhook will be contacted. port should be a valid port number (1-65535, inclusive). Defaults to 443 for backward compatibility.
Trait Implementations
sourceimpl Clone for ServiceReference
 
impl Clone for ServiceReference
sourcefn clone(&self) -> ServiceReference
 
fn clone(&self) -> ServiceReference
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from 
source. Read moresourceimpl Debug for ServiceReference
 
impl Debug for ServiceReference
sourceimpl DeepMerge for ServiceReference
 
impl DeepMerge for ServiceReference
sourcefn merge_from(&mut self, other: ServiceReference)
 
fn merge_from(&mut self, other: ServiceReference)
Merge 
other into self.sourceimpl Default for ServiceReference
 
impl Default for ServiceReference
sourcefn default() -> ServiceReference
 
fn default() -> ServiceReference
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for ServiceReference
 
impl<'de> Deserialize<'de> for ServiceReference
sourcefn deserialize<D>(
    deserializer: D
) -> Result<ServiceReference, <D as Deserializer<'de>>::Error>where
    D: Deserializer<'de>,
 
fn deserialize<D>(
    deserializer: D
) -> Result<ServiceReference, <D as Deserializer<'de>>::Error>where
    D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<ServiceReference> for ServiceReference
 
impl PartialEq<ServiceReference> for ServiceReference
sourcefn eq(&self, other: &ServiceReference) -> bool
 
fn eq(&self, other: &ServiceReference) -> bool
sourceimpl Serialize for ServiceReference
 
impl Serialize for ServiceReference
sourcefn serialize<S>(
    &self,
    serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
    S: Serializer,
 
fn serialize<S>(
    &self,
    serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
    S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for ServiceReference
Auto Trait Implementations
impl RefUnwindSafe for ServiceReference
impl Send for ServiceReference
impl Sync for ServiceReference
impl Unpin for ServiceReference
impl UnwindSafe for ServiceReference
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more