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 JsonSchema for BoundObjectReference
impl JsonSchema for BoundObjectReference
source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
source§fn json_schema(__gen: &mut SchemaGenerator) -> Schema
fn json_schema(__gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref
keyword. Read moresource§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 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