Struct k8s_openapi::api::core::v1::SecretReference
source · [−]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
sourceimpl Clone for SecretReference
impl Clone for SecretReference
sourcefn clone(&self) -> SecretReference
fn clone(&self) -> SecretReference
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 more
sourceimpl Debug for SecretReference
impl Debug for SecretReference
sourceimpl Default for SecretReference
impl Default for SecretReference
sourcefn default() -> SecretReference
fn default() -> SecretReference
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for SecretReference
impl<'de> Deserialize<'de> for SecretReference
sourcefn 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
sourceimpl PartialEq<SecretReference> for SecretReference
impl PartialEq<SecretReference> for SecretReference
sourcefn eq(&self, other: &SecretReference) -> bool
fn eq(&self, other: &SecretReference) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &SecretReference) -> bool
fn ne(&self, other: &SecretReference) -> bool
This method tests for !=
.
sourceimpl Serialize for SecretReference
impl Serialize for SecretReference
impl StructuralPartialEq for SecretReference
Auto Trait Implementations
impl RefUnwindSafe for SecretReference
impl Send for SecretReference
impl Sync for SecretReference
impl Unpin for SecretReference
impl UnwindSafe for SecretReference
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more