Struct k8s_openapi::api::core::v1::TypedLocalObjectReference
source · pub struct TypedLocalObjectReference {
pub api_group: Option<String>,
pub kind: String,
pub name: String,
}
Expand description
TypedLocalObjectReference contains enough information to let you locate the typed referenced object inside the same namespace.
Fields§
§api_group: Option<String>
APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required.
kind: String
Kind is the type of resource being referenced
name: String
Name is the name of resource being referenced
Trait Implementations§
source§impl Clone for TypedLocalObjectReference
impl Clone for TypedLocalObjectReference
source§fn clone(&self) -> TypedLocalObjectReference
fn clone(&self) -> TypedLocalObjectReference
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 TypedLocalObjectReference
impl Debug for TypedLocalObjectReference
source§impl DeepMerge for TypedLocalObjectReference
impl DeepMerge for TypedLocalObjectReference
source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge
other
into self
.source§impl Default for TypedLocalObjectReference
impl Default for TypedLocalObjectReference
source§fn default() -> TypedLocalObjectReference
fn default() -> TypedLocalObjectReference
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for TypedLocalObjectReference
impl<'de> Deserialize<'de> for TypedLocalObjectReference
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 TypedLocalObjectReference
impl PartialEq for TypedLocalObjectReference
source§fn eq(&self, other: &TypedLocalObjectReference) -> bool
fn eq(&self, other: &TypedLocalObjectReference) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TypedLocalObjectReference
Auto Trait Implementations§
impl Freeze for TypedLocalObjectReference
impl RefUnwindSafe for TypedLocalObjectReference
impl Send for TypedLocalObjectReference
impl Sync for TypedLocalObjectReference
impl Unpin for TypedLocalObjectReference
impl UnwindSafe for TypedLocalObjectReference
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