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 JsonSchema for TypedLocalObjectReference
impl JsonSchema for TypedLocalObjectReference
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 moreimpl 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