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 for IngressServiceBackend
impl PartialEq for IngressServiceBackend
Source§impl Serialize for IngressServiceBackend
impl Serialize for IngressServiceBackend
impl StructuralPartialEq for IngressServiceBackend
Auto Trait Implementations§
impl Freeze for IngressServiceBackend
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