pub struct SecretKeySelector {
    pub key: String,
    pub name: Option<String>,
    pub optional: Option<bool>,
}Expand description
SecretKeySelector selects a key of a Secret.
Fields§
§key: StringThe key of the secret to select from. Must be a valid secret key.
name: Option<String>Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
optional: Option<bool>Specify whether the Secret or its key must be defined
Trait Implementations§
source§impl Clone for SecretKeySelector
 
impl Clone for SecretKeySelector
source§fn clone(&self) -> SecretKeySelector
 
fn clone(&self) -> SecretKeySelector
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 Debug for SecretKeySelector
 
impl Debug for SecretKeySelector
source§impl DeepMerge for SecretKeySelector
 
impl DeepMerge for SecretKeySelector
source§fn merge_from(&mut self, other: SecretKeySelector)
 
fn merge_from(&mut self, other: SecretKeySelector)
Merge 
other into self.source§impl Default for SecretKeySelector
 
impl Default for SecretKeySelector
source§fn default() -> SecretKeySelector
 
fn default() -> SecretKeySelector
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for SecretKeySelector
 
impl<'de> Deserialize<'de> for SecretKeySelector
source§fn deserialize<D>(
    deserializer: D,
) -> Result<SecretKeySelector, <D as Deserializer<'de>>::Error>where
    D: Deserializer<'de>,
 
fn deserialize<D>(
    deserializer: D,
) -> Result<SecretKeySelector, <D as Deserializer<'de>>::Error>where
    D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for SecretKeySelector
 
impl PartialEq for SecretKeySelector
source§impl Serialize for SecretKeySelector
 
impl Serialize for SecretKeySelector
source§fn serialize<S>(
    &self,
    serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
    S: Serializer,
 
fn serialize<S>(
    &self,
    serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
    S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for SecretKeySelector
Auto Trait Implementations§
impl Freeze for SecretKeySelector
impl RefUnwindSafe for SecretKeySelector
impl Send for SecretKeySelector
impl Sync for SecretKeySelector
impl Unpin for SecretKeySelector
impl UnwindSafe for SecretKeySelector
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
source§impl<T> CloneToUninit for Twhere
    T: Clone,
 
impl<T> CloneToUninit for Twhere
    T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
 
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)