pub struct ClusterClassWorkersMachineDeploymentsTemplateInfrastructureRef {
    pub api_version: Option<String>,
    pub field_path: Option<String>,
    pub kind: Option<String>,
    pub name: Option<String>,
    pub namespace: Option<String>,
    pub resource_version: Option<String>,
    pub uid: Option<String>,
}Expand description
ref is a required reference to a custom resource offered by a provider.
Fields§
§api_version: Option<String>API version of the referent.
field_path: Option<String>If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: “spec.containers{name}” (where “name” refers to the name of the container that triggered the event) or if no container name is specified “spec.containers[2]” (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object.
kind: Option<String>Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
name: Option<String>Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
namespace: Option<String>Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/
resource_version: Option<String>Specific resourceVersion to which this reference is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
uid: Option<String>UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids
Trait Implementations§
Source§impl Clone for ClusterClassWorkersMachineDeploymentsTemplateInfrastructureRef
 
impl Clone for ClusterClassWorkersMachineDeploymentsTemplateInfrastructureRef
Source§fn clone(
    &self,
) -> ClusterClassWorkersMachineDeploymentsTemplateInfrastructureRef
 
fn clone( &self, ) -> ClusterClassWorkersMachineDeploymentsTemplateInfrastructureRef
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for ClusterClassWorkersMachineDeploymentsTemplateInfrastructureRef
 
impl Default for ClusterClassWorkersMachineDeploymentsTemplateInfrastructureRef
Source§fn default() -> ClusterClassWorkersMachineDeploymentsTemplateInfrastructureRef
 
fn default() -> ClusterClassWorkersMachineDeploymentsTemplateInfrastructureRef
Source§impl<'de> Deserialize<'de> for ClusterClassWorkersMachineDeploymentsTemplateInfrastructureRef
 
impl<'de> Deserialize<'de> for ClusterClassWorkersMachineDeploymentsTemplateInfrastructureRef
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 JsonSchema for ClusterClassWorkersMachineDeploymentsTemplateInfrastructureRef
 
impl JsonSchema for ClusterClassWorkersMachineDeploymentsTemplateInfrastructureRef
Source§fn schema_name() -> String
 
fn schema_name() -> String
Source§fn schema_id() -> Cow<'static, str>
 
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(gen: &mut SchemaGenerator) -> Schema
 
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Source§fn is_referenceable() -> bool
 
fn is_referenceable() -> bool
$ref keyword. Read moreSource§impl PartialEq for ClusterClassWorkersMachineDeploymentsTemplateInfrastructureRef
 
impl PartialEq for ClusterClassWorkersMachineDeploymentsTemplateInfrastructureRef
Source§fn eq(
    &self,
    other: &ClusterClassWorkersMachineDeploymentsTemplateInfrastructureRef,
) -> bool
 
fn eq( &self, other: &ClusterClassWorkersMachineDeploymentsTemplateInfrastructureRef, ) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ClusterClassWorkersMachineDeploymentsTemplateInfrastructureRef
Auto Trait Implementations§
impl Freeze for ClusterClassWorkersMachineDeploymentsTemplateInfrastructureRef
impl RefUnwindSafe for ClusterClassWorkersMachineDeploymentsTemplateInfrastructureRef
impl Send for ClusterClassWorkersMachineDeploymentsTemplateInfrastructureRef
impl Sync for ClusterClassWorkersMachineDeploymentsTemplateInfrastructureRef
impl Unpin for ClusterClassWorkersMachineDeploymentsTemplateInfrastructureRef
impl UnwindSafe for ClusterClassWorkersMachineDeploymentsTemplateInfrastructureRef
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
Source§impl<T> CloneToUninit for Twhere
    T: Clone,
 
impl<T> CloneToUninit for Twhere
    T: Clone,
Source§impl<T> Instrument for T
 
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
 
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
 
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
 
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
 
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
 
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more