pub struct IntegrationTemplateSpecVolumesProjectedSourcesSecretItems {
pub key: String,
pub mode: Option<i32>,
pub path: String,
}Expand description
Maps a string key to a path within a volume.
Fields§
§key: Stringkey is the key to project.
mode: Option<i32>mode is Optional: mode bits used to set permissions on this file. 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. 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: Stringpath is 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§
Source§impl Clone for IntegrationTemplateSpecVolumesProjectedSourcesSecretItems
impl Clone for IntegrationTemplateSpecVolumesProjectedSourcesSecretItems
Source§fn clone(&self) -> IntegrationTemplateSpecVolumesProjectedSourcesSecretItems
fn clone(&self) -> IntegrationTemplateSpecVolumesProjectedSourcesSecretItems
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 Default for IntegrationTemplateSpecVolumesProjectedSourcesSecretItems
impl Default for IntegrationTemplateSpecVolumesProjectedSourcesSecretItems
Source§fn default() -> IntegrationTemplateSpecVolumesProjectedSourcesSecretItems
fn default() -> IntegrationTemplateSpecVolumesProjectedSourcesSecretItems
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for IntegrationTemplateSpecVolumesProjectedSourcesSecretItems
impl<'de> Deserialize<'de> for IntegrationTemplateSpecVolumesProjectedSourcesSecretItems
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 PartialEq for IntegrationTemplateSpecVolumesProjectedSourcesSecretItems
impl PartialEq for IntegrationTemplateSpecVolumesProjectedSourcesSecretItems
Source§fn eq(
&self,
other: &IntegrationTemplateSpecVolumesProjectedSourcesSecretItems,
) -> bool
fn eq( &self, other: &IntegrationTemplateSpecVolumesProjectedSourcesSecretItems, ) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for IntegrationTemplateSpecVolumesProjectedSourcesSecretItems
Auto Trait Implementations§
impl Freeze for IntegrationTemplateSpecVolumesProjectedSourcesSecretItems
impl RefUnwindSafe for IntegrationTemplateSpecVolumesProjectedSourcesSecretItems
impl Send for IntegrationTemplateSpecVolumesProjectedSourcesSecretItems
impl Sync for IntegrationTemplateSpecVolumesProjectedSourcesSecretItems
impl Unpin for IntegrationTemplateSpecVolumesProjectedSourcesSecretItems
impl UnwindSafe for IntegrationTemplateSpecVolumesProjectedSourcesSecretItems
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