Struct k8s_openapi::api::networking::v1::ServiceBackendPort
source · [−]Expand description
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
sourceimpl Clone for ServiceBackendPort
impl Clone for ServiceBackendPort
sourcefn clone(&self) -> ServiceBackendPort
fn clone(&self) -> ServiceBackendPort
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 more
sourceimpl Debug for ServiceBackendPort
impl Debug for ServiceBackendPort
sourceimpl DeepMerge for ServiceBackendPort
impl DeepMerge for ServiceBackendPort
sourcefn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge other
into self
.
sourceimpl Default for ServiceBackendPort
impl Default for ServiceBackendPort
sourcefn default() -> ServiceBackendPort
fn default() -> ServiceBackendPort
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for ServiceBackendPort
impl<'de> Deserialize<'de> for ServiceBackendPort
sourcefn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<ServiceBackendPort> for ServiceBackendPort
impl PartialEq<ServiceBackendPort> for ServiceBackendPort
sourcefn eq(&self, other: &ServiceBackendPort) -> bool
fn eq(&self, other: &ServiceBackendPort) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourceimpl Serialize for ServiceBackendPort
impl Serialize for ServiceBackendPort
impl StructuralPartialEq for ServiceBackendPort
Auto Trait Implementations
impl RefUnwindSafe for ServiceBackendPort
impl Send for ServiceBackendPort
impl Sync for ServiceBackendPort
impl Unpin for ServiceBackendPort
impl UnwindSafe for ServiceBackendPort
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