Struct k8s_openapi_ext::corev1::SecretKeySelector  
source · [−]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
sourceimpl Clone for SecretKeySelector
 
impl Clone for SecretKeySelector
sourcefn clone(&self) -> SecretKeySelector
 
fn clone(&self) -> SecretKeySelector
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from 
source. Read moresourceimpl Debug for SecretKeySelector
 
impl Debug for SecretKeySelector
sourceimpl DeepMerge for SecretKeySelector
 
impl DeepMerge for SecretKeySelector
sourcefn merge_from(&mut self, other: SecretKeySelector)
 
fn merge_from(&mut self, other: SecretKeySelector)
Merge 
other into self.sourceimpl Default for SecretKeySelector
 
impl Default for SecretKeySelector
sourcefn default() -> SecretKeySelector
 
fn default() -> SecretKeySelector
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for SecretKeySelector
 
impl<'de> Deserialize<'de> for SecretKeySelector
sourcefn 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
sourceimpl PartialEq<SecretKeySelector> for SecretKeySelector
 
impl PartialEq<SecretKeySelector> for SecretKeySelector
sourcefn eq(&self, other: &SecretKeySelector) -> bool
 
fn eq(&self, other: &SecretKeySelector) -> bool
sourceimpl Serialize for SecretKeySelector
 
impl Serialize for SecretKeySelector
sourcefn 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 RefUnwindSafe for SecretKeySelector
impl Send for SecretKeySelector
impl Sync for SecretKeySelector
impl Unpin for SecretKeySelector
impl UnwindSafe for SecretKeySelector
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more