pub struct ClusterTopologyClassRef {
pub name: String,
pub namespace: Option<String>,
}Expand description
classRef is the ref to the ClusterClass that should be used for the topology.
Fields§
§name: Stringname is the name of the ClusterClass that should be used for the topology. name must be a valid ClusterClass name and because of that be at most 253 characters in length and it must consist only of lower case alphanumeric characters, hyphens (-) and periods (.), and must start and end with an alphanumeric character.
namespace: Option<String>namespace is the namespace of the ClusterClass that should be used for the topology. If namespace is empty or not set, it is defaulted to the namespace of the Cluster object. namespace must be a valid namespace name and because of that be at most 63 characters in length and it must consist only of lower case alphanumeric characters or hyphens (-), and must start and end with an alphanumeric character.
Trait Implementations§
Source§impl Clone for ClusterTopologyClassRef
impl Clone for ClusterTopologyClassRef
Source§fn clone(&self) -> ClusterTopologyClassRef
fn clone(&self) -> ClusterTopologyClassRef
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ClusterTopologyClassRef
impl Debug for ClusterTopologyClassRef
Source§impl Default for ClusterTopologyClassRef
impl Default for ClusterTopologyClassRef
Source§fn default() -> ClusterTopologyClassRef
fn default() -> ClusterTopologyClassRef
Source§impl<'de> Deserialize<'de> for ClusterTopologyClassRef
impl<'de> Deserialize<'de> for ClusterTopologyClassRef
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 ClusterTopologyClassRef
impl JsonSchema for ClusterTopologyClassRef
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 inline_schema() -> bool
fn inline_schema() -> bool
$ref keyword. Read moreSource§impl PartialEq for ClusterTopologyClassRef
impl PartialEq for ClusterTopologyClassRef
Source§impl Serialize for ClusterTopologyClassRef
impl Serialize for ClusterTopologyClassRef
impl StructuralPartialEq for ClusterTopologyClassRef
Auto Trait Implementations§
impl Freeze for ClusterTopologyClassRef
impl RefUnwindSafe for ClusterTopologyClassRef
impl Send for ClusterTopologyClassRef
impl Sync for ClusterTopologyClassRef
impl Unpin for ClusterTopologyClassRef
impl UnsafeUnpin for ClusterTopologyClassRef
impl UnwindSafe for ClusterTopologyClassRef
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