pub struct TypedLocalObjectReference {
pub api_group: Option<String>,
pub kind: String,
pub name: String,
}Expand description
TypedLocalObjectReference allows to reference typed object inside the same namespace.
Fields§
§api_group: Option<String>APIGroup is the group for the resource being referenced. If APIGroup is empty, the specified Kind must be in the core API group. For any other third-party types, setting APIGroup is required. It must be a DNS subdomain.
kind: StringKind is the type of resource being referenced. It must be a path segment name.
name: StringName is the name of resource being referenced. It must be a path segment name.
Trait Implementations§
Source§impl Clone for TypedLocalObjectReference
impl Clone for TypedLocalObjectReference
Source§fn clone(&self) -> TypedLocalObjectReference
fn clone(&self) -> TypedLocalObjectReference
Returns a duplicate 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
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