#[non_exhaustive]pub struct ComponentParameterDetail { /* private fields */ }
Expand description
Defines a parameter that is used to provide configuration details for the component.
Implementations§
source§impl ComponentParameterDetail
impl ComponentParameterDetail
sourcepub fn type(&self) -> Option<&str>
pub fn type(&self) -> Option<&str>
The type of input this parameter provides. The currently supported value is "string".
sourcepub fn default_value(&self) -> Option<&[String]>
pub fn default_value(&self) -> Option<&[String]>
The default value of this parameter if no input is provided.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
Describes this parameter.
source§impl ComponentParameterDetail
impl ComponentParameterDetail
sourcepub fn builder() -> ComponentParameterDetailBuilder
pub fn builder() -> ComponentParameterDetailBuilder
Creates a new builder-style object to manufacture ComponentParameterDetail
.
Trait Implementations§
source§impl Clone for ComponentParameterDetail
impl Clone for ComponentParameterDetail
source§fn clone(&self) -> ComponentParameterDetail
fn clone(&self) -> ComponentParameterDetail
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 ComponentParameterDetail
impl Debug for ComponentParameterDetail
source§impl PartialEq<ComponentParameterDetail> for ComponentParameterDetail
impl PartialEq<ComponentParameterDetail> for ComponentParameterDetail
source§fn eq(&self, other: &ComponentParameterDetail) -> bool
fn eq(&self, other: &ComponentParameterDetail) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.