Struct k8s_openapi::v1_8::api::core::v1::HostAlias [−][src]
HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the pod's hosts file.
Fields
hostnames: Option<Vec<String>>
Hostnames for the above IP address.
ip: Option<String>
IP address of the host file entry.
Trait Implementations
impl Clone for HostAlias
[src]
impl Clone for HostAlias
fn clone(&self) -> HostAlias
[src]
fn clone(&self) -> HostAlias
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for HostAlias
[src]
impl Debug for HostAlias
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Default for HostAlias
[src]
impl Default for HostAlias
impl PartialEq for HostAlias
[src]
impl PartialEq for HostAlias
fn eq(&self, other: &HostAlias) -> bool
[src]
fn eq(&self, other: &HostAlias) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &HostAlias) -> bool
[src]
fn ne(&self, other: &HostAlias) -> bool
This method tests for !=
.
impl<'de> Deserialize<'de> for HostAlias
[src]
impl<'de> Deserialize<'de> for HostAlias
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Serialize for HostAlias
[src]
impl Serialize for HostAlias