#[non_exhaustive]pub struct ComponentParameterDetail { /* private fields */ }
Expand description
Defines a parameter that is used to provide configuration details for the component.
Implementations
sourceimpl 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.
sourceimpl ComponentParameterDetail
impl ComponentParameterDetail
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ComponentParameterDetail
.
Trait Implementations
sourceimpl Clone for ComponentParameterDetail
impl Clone for ComponentParameterDetail
sourcefn clone(&self) -> ComponentParameterDetail
fn clone(&self) -> ComponentParameterDetail
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ComponentParameterDetail
impl Debug for ComponentParameterDetail
sourceimpl PartialEq<ComponentParameterDetail> for ComponentParameterDetail
impl PartialEq<ComponentParameterDetail> for ComponentParameterDetail
sourcefn eq(&self, other: &ComponentParameterDetail) -> bool
fn eq(&self, other: &ComponentParameterDetail) -> bool
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more