pub struct ClusterClassStatusVariablesDefinitions {
pub from: String,
pub metadata: Option<ClusterClassStatusVariablesDefinitionsMetadata>,
pub required: bool,
pub schema: ClusterClassStatusVariablesDefinitionsSchema,
}
Expand description
ClusterClassStatusVariableDefinition defines a variable which appears in the status of a ClusterClass.
Fields§
§from: String
from specifies the origin of the variable definition.
This will be inline
for variables defined in the ClusterClass or the name of a patch defined in the ClusterClass
for variables discovered from a DiscoverVariables runtime extensions.
metadata: Option<ClusterClassStatusVariablesDefinitionsMetadata>
metadata is the metadata of a variable. It can be used to add additional data for higher level tools to a ClusterClassVariable.
Deprecated: This field is deprecated and is going to be removed in the next apiVersion.
required: bool
required specifies if the variable is required. Note: this applies to the variable as a whole and thus the top-level object defined in the schema. If nested fields are required, this will be specified inside the schema.
schema: ClusterClassStatusVariablesDefinitionsSchema
schema defines the schema of the variable.
Trait Implementations§
Source§impl Clone for ClusterClassStatusVariablesDefinitions
impl Clone for ClusterClassStatusVariablesDefinitions
Source§fn clone(&self) -> ClusterClassStatusVariablesDefinitions
fn clone(&self) -> ClusterClassStatusVariablesDefinitions
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Default for ClusterClassStatusVariablesDefinitions
impl Default for ClusterClassStatusVariablesDefinitions
Source§fn default() -> ClusterClassStatusVariablesDefinitions
fn default() -> ClusterClassStatusVariablesDefinitions
Source§impl<'de> Deserialize<'de> for ClusterClassStatusVariablesDefinitions
impl<'de> Deserialize<'de> for ClusterClassStatusVariablesDefinitions
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 ClusterClassStatusVariablesDefinitions
impl JsonSchema for ClusterClassStatusVariablesDefinitions
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(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
$ref
keyword. Read moreSource§impl PartialEq for ClusterClassStatusVariablesDefinitions
impl PartialEq for ClusterClassStatusVariablesDefinitions
Source§fn eq(&self, other: &ClusterClassStatusVariablesDefinitions) -> bool
fn eq(&self, other: &ClusterClassStatusVariablesDefinitions) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for ClusterClassStatusVariablesDefinitions
Auto Trait Implementations§
impl Freeze for ClusterClassStatusVariablesDefinitions
impl RefUnwindSafe for ClusterClassStatusVariablesDefinitions
impl Send for ClusterClassStatusVariablesDefinitions
impl Sync for ClusterClassStatusVariablesDefinitions
impl Unpin for ClusterClassStatusVariablesDefinitions
impl UnwindSafe for ClusterClassStatusVariablesDefinitions
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