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 for BoundObjectReference
impl PartialEq 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 ==
.source§impl Serialize for BoundObjectReference
impl Serialize for BoundObjectReference
impl StructuralPartialEq for BoundObjectReference
Auto Trait Implementations§
impl RefUnwindSafe for BoundObjectReference
impl Send for BoundObjectReference
impl Sync for BoundObjectReference
impl Unpin for BoundObjectReference
impl UnwindSafe for BoundObjectReference
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