#[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 ==
.impl StructuralPartialEq for ComponentParameterDetail
Auto Trait Implementations§
impl RefUnwindSafe for ComponentParameterDetail
impl Send for ComponentParameterDetail
impl Sync for ComponentParameterDetail
impl Unpin for ComponentParameterDetail
impl UnwindSafe for ComponentParameterDetail
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