Struct k8s_openapi::api::authentication::v1::BoundObjectReference
source · pub struct BoundObjectReference {
pub api_version: Option<String>,
pub kind: Option<String>,
pub name: Option<String>,
pub uid: Option<String>,
}
Expand description
BoundObjectReference is a reference to an object that a token is bound to.
Fields§
§api_version: Option<String>
API version of the referent.
kind: Option<String>
Kind of the referent. Valid kinds are ‘Pod’ and ‘Secret’.
name: Option<String>
Name of the referent.
uid: Option<String>
UID of the referent.
Trait Implementations§
source§impl Clone for BoundObjectReference
impl Clone for BoundObjectReference
source§fn clone(&self) -> BoundObjectReference
fn clone(&self) -> BoundObjectReference
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 BoundObjectReference
impl Debug for BoundObjectReference
source§impl DeepMerge for BoundObjectReference
impl DeepMerge for BoundObjectReference
source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge
other
into self
.source§impl Default for BoundObjectReference
impl Default for BoundObjectReference
source§fn default() -> BoundObjectReference
fn default() -> BoundObjectReference
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for BoundObjectReference
impl<'de> Deserialize<'de> for BoundObjectReference
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<BoundObjectReference> for BoundObjectReference
impl PartialEq<BoundObjectReference> for BoundObjectReference
source§fn eq(&self, other: &BoundObjectReference) -> bool
fn eq(&self, other: &BoundObjectReference) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.