pub struct IoK8sApiCoreV1DownwardApiVolumeSource {
pub default_mode: Option<i64>,
pub items: Vec<IoK8sApiCoreV1DownwardApiVolumeFile>,
}
Expand description
DownwardAPIVolumeSource represents a volume containing downward API info. Downward API volumes support ownership management and SELinux relabeling.
Fields§
§default_mode: Option<i64>
Optional: mode bits to use on created files by default. Must be a Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.
items: Vec<IoK8sApiCoreV1DownwardApiVolumeFile>
Items is a list of downward API volume file
Trait Implementations§
Source§impl Clone for IoK8sApiCoreV1DownwardApiVolumeSource
impl Clone for IoK8sApiCoreV1DownwardApiVolumeSource
Source§fn clone(&self) -> IoK8sApiCoreV1DownwardApiVolumeSource
fn clone(&self) -> IoK8sApiCoreV1DownwardApiVolumeSource
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'de> Deserialize<'de> for IoK8sApiCoreV1DownwardApiVolumeSource
impl<'de> Deserialize<'de> for IoK8sApiCoreV1DownwardApiVolumeSource
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&IoK8sApiCoreV1DownwardApiVolumeSource> for IoK8sApiCoreV1DownwardApiVolumeSource
impl From<&IoK8sApiCoreV1DownwardApiVolumeSource> for IoK8sApiCoreV1DownwardApiVolumeSource
Source§fn from(value: &IoK8sApiCoreV1DownwardApiVolumeSource) -> Self
fn from(value: &IoK8sApiCoreV1DownwardApiVolumeSource) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for IoK8sApiCoreV1DownwardApiVolumeSource
impl RefUnwindSafe for IoK8sApiCoreV1DownwardApiVolumeSource
impl Send for IoK8sApiCoreV1DownwardApiVolumeSource
impl Sync for IoK8sApiCoreV1DownwardApiVolumeSource
impl Unpin for IoK8sApiCoreV1DownwardApiVolumeSource
impl UnwindSafe for IoK8sApiCoreV1DownwardApiVolumeSource
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more