pub struct IoK8sApiCoreV1ProjectedVolumeSource {
pub default_mode: Option<i64>,
pub sources: Vec<IoK8sApiCoreV1VolumeProjection>,
}
Expand description
Represents a projected volume source
Fields§
§default_mode: Option<i64>
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. 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.
sources: Vec<IoK8sApiCoreV1VolumeProjection>
list of volume projections
Trait Implementations§
Source§impl Clone for IoK8sApiCoreV1ProjectedVolumeSource
impl Clone for IoK8sApiCoreV1ProjectedVolumeSource
Source§fn clone(&self) -> IoK8sApiCoreV1ProjectedVolumeSource
fn clone(&self) -> IoK8sApiCoreV1ProjectedVolumeSource
Returns a copy 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 IoK8sApiCoreV1ProjectedVolumeSource
impl<'de> Deserialize<'de> for IoK8sApiCoreV1ProjectedVolumeSource
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<&IoK8sApiCoreV1ProjectedVolumeSource> for IoK8sApiCoreV1ProjectedVolumeSource
impl From<&IoK8sApiCoreV1ProjectedVolumeSource> for IoK8sApiCoreV1ProjectedVolumeSource
Source§fn from(value: &IoK8sApiCoreV1ProjectedVolumeSource) -> Self
fn from(value: &IoK8sApiCoreV1ProjectedVolumeSource) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for IoK8sApiCoreV1ProjectedVolumeSource
impl RefUnwindSafe for IoK8sApiCoreV1ProjectedVolumeSource
impl Send for IoK8sApiCoreV1ProjectedVolumeSource
impl Sync for IoK8sApiCoreV1ProjectedVolumeSource
impl Unpin for IoK8sApiCoreV1ProjectedVolumeSource
impl UnwindSafe for IoK8sApiCoreV1ProjectedVolumeSource
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