pub struct ArgumentParamBuilder<'a, 'b> { /* private fields */ }Expand description
An argument param builder
Implementations§
Source§impl<'a, 'b> ArgumentParamBuilder<'a, 'b>
impl<'a, 'b> ArgumentParamBuilder<'a, 'b>
Sourcepub fn new() -> Self
pub fn new() -> Self
Make a new ArgumentParamBuilder.
Sourcepub fn description(&mut self, description: &'b str) -> &mut Self
pub fn description(&mut self, description: &'b str) -> &mut Self
Set the description
Sourcepub fn build(&mut self) -> Result<ArgumentParam, BuilderError>
pub fn build(&mut self) -> Result<ArgumentParam, BuilderError>
Build the argument param
Trait Implementations§
Source§impl<'a, 'b> Debug for ArgumentParamBuilder<'a, 'b>
impl<'a, 'b> Debug for ArgumentParamBuilder<'a, 'b>
Auto Trait Implementations§
impl<'a, 'b> Freeze for ArgumentParamBuilder<'a, 'b>
impl<'a, 'b> RefUnwindSafe for ArgumentParamBuilder<'a, 'b>
impl<'a, 'b> Send for ArgumentParamBuilder<'a, 'b>
impl<'a, 'b> Sync for ArgumentParamBuilder<'a, 'b>
impl<'a, 'b> Unpin for ArgumentParamBuilder<'a, 'b>
impl<'a, 'b> UnwindSafe for ArgumentParamBuilder<'a, 'b>
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