pub struct TypedLocalObjectReference {
pub api_group: Option<String>,
pub kind: Option<String>,
pub name: Option<String>,
}Expand description
TypedLocalObjectReference contains enough information to let you locate the typed referenced object inside the same namespace. +structType=atomic
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. +optional
kind: Option<String>Kind is the type of resource being referenced
name: Option<String>Name is the name of resource being referenced
Implementations§
Source§impl TypedLocalObjectReference
impl TypedLocalObjectReference
pub fn new() -> TypedLocalObjectReference
Trait Implementations§
Source§impl Clone for TypedLocalObjectReference
impl Clone for TypedLocalObjectReference
Source§fn clone(&self) -> TypedLocalObjectReference
fn clone(&self) -> TypedLocalObjectReference
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for TypedLocalObjectReference
impl Debug for TypedLocalObjectReference
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>,
Source§impl FromStr for TypedLocalObjectReference
Converts Query Parameters representation (style=form, explode=false) to a TypedLocalObjectReference value
as specified in https://swagger.io/docs/specification/serialization/
Should be implemented in a serde deserializer
impl FromStr for TypedLocalObjectReference
Converts Query Parameters representation (style=form, explode=false) to a TypedLocalObjectReference value as specified in https://swagger.io/docs/specification/serialization/ Should be implemented in a serde deserializer
Source§impl ToString for TypedLocalObjectReference
Converts the TypedLocalObjectReference value to the Query Parameters representation (style=form, explode=false)
specified in https://swagger.io/docs/specification/serialization/
Should be implemented in a serde serializer
impl ToString for TypedLocalObjectReference
Converts the TypedLocalObjectReference value to the Query Parameters representation (style=form, explode=false) specified in https://swagger.io/docs/specification/serialization/ Should be implemented in a serde serializer