pub struct ClusterVolumeSpecAccessModeInlineItemSecretsInlineItem {
pub key: Option<String>,
pub secret: Option<String>,
}Expand description
One cluster volume secret entry. Defines a key-value pair that is passed to the plugin.
Fields§
§key: Option<String>Key is the name of the key of the key-value pair passed to the plugin.
secret: Option<String>Secret is the swarm Secret object from which to read data. This can be a Secret name or ID. The Secret data is retrieved by swarm and used as the value of the key-value pair passed to the plugin.
Trait Implementations§
Source§impl Clone for ClusterVolumeSpecAccessModeInlineItemSecretsInlineItem
impl Clone for ClusterVolumeSpecAccessModeInlineItemSecretsInlineItem
Source§fn clone(&self) -> ClusterVolumeSpecAccessModeInlineItemSecretsInlineItem
fn clone(&self) -> ClusterVolumeSpecAccessModeInlineItemSecretsInlineItem
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ClusterVolumeSpecAccessModeInlineItemSecretsInlineItem
impl<'de> Deserialize<'de> for ClusterVolumeSpecAccessModeInlineItemSecretsInlineItem
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
impl StructuralPartialEq for ClusterVolumeSpecAccessModeInlineItemSecretsInlineItem
Auto Trait Implementations§
impl Freeze for ClusterVolumeSpecAccessModeInlineItemSecretsInlineItem
impl RefUnwindSafe for ClusterVolumeSpecAccessModeInlineItemSecretsInlineItem
impl Send for ClusterVolumeSpecAccessModeInlineItemSecretsInlineItem
impl Sync for ClusterVolumeSpecAccessModeInlineItemSecretsInlineItem
impl Unpin for ClusterVolumeSpecAccessModeInlineItemSecretsInlineItem
impl UnsafeUnpin for ClusterVolumeSpecAccessModeInlineItemSecretsInlineItem
impl UnwindSafe for ClusterVolumeSpecAccessModeInlineItemSecretsInlineItem
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