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
sourceimpl Clone for BoundObjectReference
impl Clone for BoundObjectReference
sourcefn clone(&self) -> BoundObjectReference
fn clone(&self) -> BoundObjectReference
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 BoundObjectReference
impl Debug for BoundObjectReference
sourceimpl DeepMerge for BoundObjectReference
impl DeepMerge for BoundObjectReference
sourcefn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge other
into self
.
sourceimpl Default for BoundObjectReference
impl Default for BoundObjectReference
sourcefn default() -> BoundObjectReference
fn default() -> BoundObjectReference
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for BoundObjectReference
impl<'de> Deserialize<'de> for BoundObjectReference
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<BoundObjectReference> for BoundObjectReference
impl PartialEq<BoundObjectReference> for BoundObjectReference
sourcefn 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 ==
. Read more
sourceimpl 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
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