pub struct ProjectedVolumeSource {
pub default_mode: Option<i32>,
pub sources: Option<Vec<VolumeProjection>>,
}Expand description
Represents a projected volume source
Fields§
§default_mode: Option<i32>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. +optional
sources: Option<Vec<VolumeProjection>>list of volume projections +optional
Implementations§
Source§impl ProjectedVolumeSource
impl ProjectedVolumeSource
pub fn new() -> ProjectedVolumeSource
Trait Implementations§
Source§impl Clone for ProjectedVolumeSource
impl Clone for ProjectedVolumeSource
Source§fn clone(&self) -> ProjectedVolumeSource
fn clone(&self) -> ProjectedVolumeSource
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ProjectedVolumeSource
impl Debug for ProjectedVolumeSource
Source§impl<'de> Deserialize<'de> for ProjectedVolumeSource
impl<'de> Deserialize<'de> for ProjectedVolumeSource
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>,
Source§impl FromStr for ProjectedVolumeSource
Converts Query Parameters representation (style=form, explode=false) to a ProjectedVolumeSource value
as specified in https://swagger.io/docs/specification/serialization/
Should be implemented in a serde deserializer
impl FromStr for ProjectedVolumeSource
Converts Query Parameters representation (style=form, explode=false) to a ProjectedVolumeSource value as specified in https://swagger.io/docs/specification/serialization/ Should be implemented in a serde deserializer
Source§impl PartialEq for ProjectedVolumeSource
impl PartialEq for ProjectedVolumeSource
Source§impl Serialize for ProjectedVolumeSource
impl Serialize for ProjectedVolumeSource
Source§impl ToString for ProjectedVolumeSource
Converts the ProjectedVolumeSource value to the Query Parameters representation (style=form, explode=false)
specified in https://swagger.io/docs/specification/serialization/
Should be implemented in a serde serializer
impl ToString for ProjectedVolumeSource
Converts the ProjectedVolumeSource value to the Query Parameters representation (style=form, explode=false) specified in https://swagger.io/docs/specification/serialization/ Should be implemented in a serde serializer