Struct aws_sdk_datazone::types::CustomParameter
source · #[non_exhaustive]pub struct CustomParameter {
pub key_name: String,
pub description: Option<String>,
pub field_type: String,
pub default_value: Option<String>,
pub is_editable: Option<bool>,
pub is_optional: Option<bool>,
}
Expand description
The details of user parameters of an environment blueprint.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.key_name: String
The key name of the parameter.
description: Option<String>
The description of the parameter.
field_type: String
The filed type of the parameter.
default_value: Option<String>
The default value of the parameter.
is_editable: Option<bool>
Specifies whether the parameter is editable.
is_optional: Option<bool>
Specifies whether the custom parameter is optional.
Implementations§
source§impl CustomParameter
impl CustomParameter
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the parameter.
sourcepub fn field_type(&self) -> &str
pub fn field_type(&self) -> &str
The filed type of the parameter.
sourcepub fn default_value(&self) -> Option<&str>
pub fn default_value(&self) -> Option<&str>
The default value of the parameter.
sourcepub fn is_editable(&self) -> Option<bool>
pub fn is_editable(&self) -> Option<bool>
Specifies whether the parameter is editable.
sourcepub fn is_optional(&self) -> Option<bool>
pub fn is_optional(&self) -> Option<bool>
Specifies whether the custom parameter is optional.
source§impl CustomParameter
impl CustomParameter
sourcepub fn builder() -> CustomParameterBuilder
pub fn builder() -> CustomParameterBuilder
Creates a new builder-style object to manufacture CustomParameter
.
Trait Implementations§
source§impl Clone for CustomParameter
impl Clone for CustomParameter
source§fn clone(&self) -> CustomParameter
fn clone(&self) -> CustomParameter
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 CustomParameter
impl Debug for CustomParameter
source§impl PartialEq for CustomParameter
impl PartialEq for CustomParameter
source§fn eq(&self, other: &CustomParameter) -> bool
fn eq(&self, other: &CustomParameter) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CustomParameter
Auto Trait Implementations§
impl Freeze for CustomParameter
impl RefUnwindSafe for CustomParameter
impl Send for CustomParameter
impl Sync for CustomParameter
impl Unpin for CustomParameter
impl UnwindSafe for CustomParameter
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.