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§impl Serialize for BoundObjectReference
impl Serialize for BoundObjectReference
impl StructuralPartialEq for BoundObjectReference
Auto Trait Implementations§
impl Freeze for BoundObjectReference
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