Struct k8s_openapi::v1_11::api::core::v1::KeyToPath[][src]

pub struct KeyToPath {
    pub key: String,
    pub mode: Option<i32>,
    pub path: String,
}

Maps a string key to a path within a volume.

Fields

The key to project.

Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.

The relative path of the file to map the key to. May not be an absolute path. May not contain the path element '..'. May not start with the string '..'.

Trait Implementations

impl Clone for KeyToPath
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for KeyToPath
[src]

Formats the value using the given formatter. Read more

impl Default for KeyToPath
[src]

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

impl PartialEq for KeyToPath
[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 KeyToPath
[src]

Deserialize this value from the given Serde deserializer. Read more

impl Serialize for KeyToPath
[src]

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

impl Send for KeyToPath

impl Sync for KeyToPath