pub struct VariableInfoBuilder { /* private fields */ }Implementations§
Source§impl VariableInfoBuilder
impl VariableInfoBuilder
pub fn with_prompt<P: Into<String>>(self, prompt: P) -> VariableInfoBuilder
pub fn with_value<V: Into<String>>(self, value: V) -> VariableInfoBuilder
pub fn with_default<D: Into<String>>(self, default: D) -> VariableInfoBuilder
pub fn with_type(self, variable_type: VariableType) -> VariableInfoBuilder
pub fn build(self) -> VariableInfo
Auto Trait Implementations§
impl Freeze for VariableInfoBuilder
impl RefUnwindSafe for VariableInfoBuilder
impl Send for VariableInfoBuilder
impl Sync for VariableInfoBuilder
impl Unpin for VariableInfoBuilder
impl UnwindSafe for VariableInfoBuilder
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