Struct k8s_openapi::v1_8::api::core::v1::HostAlias[][src]

pub struct HostAlias {
    pub hostnames: Option<Vec<String>>,
    pub ip: Option<String>,
}

HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the pod's hosts file.

Fields

Hostnames for the above IP address.

IP address of the host file entry.

Trait Implementations

impl Clone for HostAlias
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for HostAlias
[src]

Formats the value using the given formatter. Read more

impl Default for HostAlias
[src]

Returns the "default value" for a type. Read more

impl PartialEq for HostAlias
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<'de> Deserialize<'de> for HostAlias
[src]

Deserialize this value from the given Serde deserializer. Read more

impl Serialize for HostAlias
[src]

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

impl Send for HostAlias

impl Sync for HostAlias