Struct k8s_openapi::v1_7::kubernetes::pkg::api::v1::KeyToPath [−][src]
Maps a string key to a path within a volume.
Fields
key: String
The key to project.
mode: Option<i32>
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.
path: String
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]
impl Clone for KeyToPathfn clone(&self) -> KeyToPath[src]
fn clone(&self) -> KeyToPathReturns 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)Performs copy-assignment from source. Read more
impl Debug for KeyToPath[src]
impl Debug for KeyToPathfn 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 KeyToPath[src]
impl Default for KeyToPathimpl PartialEq for KeyToPath[src]
impl PartialEq for KeyToPathfn eq(&self, other: &KeyToPath) -> bool[src]
fn eq(&self, other: &KeyToPath) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &KeyToPath) -> bool[src]
fn ne(&self, other: &KeyToPath) -> boolThis method tests for !=.
impl<'de> Deserialize<'de> for KeyToPath[src]
impl<'de> Deserialize<'de> for KeyToPathfn 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 KeyToPath[src]
impl Serialize for KeyToPath