pub struct SecretReference {
pub name: Option<String>,
pub namespace: Option<String>,
}
Expand description
SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace
Fields§
§name: Option<String>
name is unique within a namespace to reference a secret resource.
namespace: Option<String>
namespace defines the space within which the secret name must be unique.
Trait Implementations§
Source§impl Clone for SecretReference
impl Clone for SecretReference
Source§fn clone(&self) -> SecretReference
fn clone(&self) -> SecretReference
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 SecretReference
impl Debug for SecretReference
Source§impl DeepMerge for SecretReference
impl DeepMerge for SecretReference
Source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge
other
into self
.Source§impl Default for SecretReference
impl Default for SecretReference
Source§fn default() -> SecretReference
fn default() -> SecretReference
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SecretReference
impl<'de> Deserialize<'de> for SecretReference
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 SecretReference
impl PartialEq for SecretReference
Source§impl Serialize for SecretReference
impl Serialize for SecretReference
impl StructuralPartialEq for SecretReference
Auto Trait Implementations§
impl Freeze for SecretReference
impl RefUnwindSafe for SecretReference
impl Send for SecretReference
impl Sync for SecretReference
impl Unpin for SecretReference
impl UnwindSafe for SecretReference
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