#[non_exhaustive]pub struct DeploymentSpecificationsField {
pub name: Option<String>,
pub description: Option<String>,
pub allowed_values: Option<Vec<String>>,
pub required: Option<String>,
pub conditionals: Option<Vec<DeploymentConditionalField>>,
}Expand description
A field that details a specification of a deployment pattern.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: Option<String>The name of the deployment specification.
description: Option<String>The description of the deployment specification.
allowed_values: Option<Vec<String>>The allowed values of the deployment specification.
required: Option<String>Indicates if the deployment specification is required.
conditionals: Option<Vec<DeploymentConditionalField>>The conditionals used for the deployment specification.
Implementations§
source§impl DeploymentSpecificationsField
impl DeploymentSpecificationsField
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the deployment specification.
sourcepub fn allowed_values(&self) -> &[String]
pub fn allowed_values(&self) -> &[String]
The allowed values of the deployment specification.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .allowed_values.is_none().
sourcepub fn conditionals(&self) -> &[DeploymentConditionalField]
pub fn conditionals(&self) -> &[DeploymentConditionalField]
The conditionals used for the deployment specification.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .conditionals.is_none().
source§impl DeploymentSpecificationsField
impl DeploymentSpecificationsField
sourcepub fn builder() -> DeploymentSpecificationsFieldBuilder
pub fn builder() -> DeploymentSpecificationsFieldBuilder
Creates a new builder-style object to manufacture DeploymentSpecificationsField.
Trait Implementations§
source§impl Clone for DeploymentSpecificationsField
impl Clone for DeploymentSpecificationsField
source§fn clone(&self) -> DeploymentSpecificationsField
fn clone(&self) -> DeploymentSpecificationsField
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for DeploymentSpecificationsField
impl PartialEq for DeploymentSpecificationsField
source§fn eq(&self, other: &DeploymentSpecificationsField) -> bool
fn eq(&self, other: &DeploymentSpecificationsField) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for DeploymentSpecificationsField
Auto Trait Implementations§
impl Freeze for DeploymentSpecificationsField
impl RefUnwindSafe for DeploymentSpecificationsField
impl Send for DeploymentSpecificationsField
impl Sync for DeploymentSpecificationsField
impl Unpin for DeploymentSpecificationsField
impl UnwindSafe for DeploymentSpecificationsField
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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