Struct k8s_openapi::api::networking::v1::IngressServiceBackend
source · pub struct IngressServiceBackend {
pub name: String,
pub port: Option<ServiceBackendPort>,
}
Expand description
IngressServiceBackend references a Kubernetes Service as a Backend.
Fields§
§name: String
name is the referenced service. The service must exist in the same namespace as the Ingress object.
port: Option<ServiceBackendPort>
port of the referenced service. A port name or port number is required for a IngressServiceBackend.
Trait Implementations§
source§impl Clone for IngressServiceBackend
impl Clone for IngressServiceBackend
source§fn clone(&self) -> IngressServiceBackend
fn clone(&self) -> IngressServiceBackend
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for IngressServiceBackend
impl Debug for IngressServiceBackend
source§impl DeepMerge for IngressServiceBackend
impl DeepMerge for IngressServiceBackend
source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge
other
into self
.source§impl Default for IngressServiceBackend
impl Default for IngressServiceBackend
source§fn default() -> IngressServiceBackend
fn default() -> IngressServiceBackend
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for IngressServiceBackend
impl<'de> Deserialize<'de> for IngressServiceBackend
source§fn 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
source§impl PartialEq<IngressServiceBackend> for IngressServiceBackend
impl PartialEq<IngressServiceBackend> for IngressServiceBackend
source§fn eq(&self, other: &IngressServiceBackend) -> bool
fn eq(&self, other: &IngressServiceBackend) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for IngressServiceBackend
impl Serialize for IngressServiceBackend
impl StructuralPartialEq for IngressServiceBackend
Auto Trait Implementations§
impl RefUnwindSafe for IngressServiceBackend
impl Send for IngressServiceBackend
impl Sync for IngressServiceBackend
impl Unpin for IngressServiceBackend
impl UnwindSafe for IngressServiceBackend
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more