pub struct ClusterClassControlPlaneMachineInfrastructureRef {
    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 ClusterClassControlPlaneMachineInfrastructureRef
 
impl Clone for ClusterClassControlPlaneMachineInfrastructureRef
Source§fn clone(&self) -> ClusterClassControlPlaneMachineInfrastructureRef
 
fn clone(&self) -> ClusterClassControlPlaneMachineInfrastructureRef
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for ClusterClassControlPlaneMachineInfrastructureRef
 
impl Default for ClusterClassControlPlaneMachineInfrastructureRef
Source§fn default() -> ClusterClassControlPlaneMachineInfrastructureRef
 
fn default() -> ClusterClassControlPlaneMachineInfrastructureRef
Source§impl<'de> Deserialize<'de> for ClusterClassControlPlaneMachineInfrastructureRef
 
impl<'de> Deserialize<'de> for ClusterClassControlPlaneMachineInfrastructureRef
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 ClusterClassControlPlaneMachineInfrastructureRef
 
impl JsonSchema for ClusterClassControlPlaneMachineInfrastructureRef
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 ClusterClassControlPlaneMachineInfrastructureRef
 
impl PartialEq for ClusterClassControlPlaneMachineInfrastructureRef
Source§fn eq(&self, other: &ClusterClassControlPlaneMachineInfrastructureRef) -> bool
 
fn eq(&self, other: &ClusterClassControlPlaneMachineInfrastructureRef) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ClusterClassControlPlaneMachineInfrastructureRef
Auto Trait Implementations§
impl Freeze for ClusterClassControlPlaneMachineInfrastructureRef
impl RefUnwindSafe for ClusterClassControlPlaneMachineInfrastructureRef
impl Send for ClusterClassControlPlaneMachineInfrastructureRef
impl Sync for ClusterClassControlPlaneMachineInfrastructureRef
impl Unpin for ClusterClassControlPlaneMachineInfrastructureRef
impl UnwindSafe for ClusterClassControlPlaneMachineInfrastructureRef
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