#[non_exhaustive]pub struct StringParameterDeclaration { /* private fields */ }
Expand description
A parameter declaration for the String
data type.
Implementations§
source§impl StringParameterDeclaration
impl StringParameterDeclaration
sourcepub fn parameter_value_type(&self) -> Option<&ParameterValueType>
pub fn parameter_value_type(&self) -> Option<&ParameterValueType>
The value type determines whether the parameter is a single-value or multi-value parameter.
sourcepub fn default_values(&self) -> Option<&StringDefaultValues>
pub fn default_values(&self) -> Option<&StringDefaultValues>
The default values of a parameter. If the parameter is a single-value parameter, a maximum of one default value can be provided.
sourcepub fn value_when_unset(&self) -> Option<&StringValueWhenUnsetConfiguration>
pub fn value_when_unset(&self) -> Option<&StringValueWhenUnsetConfiguration>
The configuration that defines the default value of a String
parameter when a value has not been set.
source§impl StringParameterDeclaration
impl StringParameterDeclaration
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture StringParameterDeclaration
.
Trait Implementations§
source§impl Clone for StringParameterDeclaration
impl Clone for StringParameterDeclaration
source§fn clone(&self) -> StringParameterDeclaration
fn clone(&self) -> StringParameterDeclaration
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for StringParameterDeclaration
impl Debug for StringParameterDeclaration
source§impl PartialEq<StringParameterDeclaration> for StringParameterDeclaration
impl PartialEq<StringParameterDeclaration> for StringParameterDeclaration
source§fn eq(&self, other: &StringParameterDeclaration) -> bool
fn eq(&self, other: &StringParameterDeclaration) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.