Struct k8s_openapi::v1_7::kubernetes::pkg::api::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 HostAliasfn clone(&self) -> HostAlias[src]
fn clone(&self) -> HostAliasReturns 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 HostAliasfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Default for HostAlias[src]
impl Default for HostAliasimpl PartialEq for HostAlias[src]
impl PartialEq for HostAliasfn eq(&self, other: &HostAlias) -> bool[src]
fn eq(&self, other: &HostAlias) -> boolThis 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) -> boolThis method tests for !=.
impl<'de> Deserialize<'de> for HostAlias[src]
impl<'de> Deserialize<'de> for HostAliasfn 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