pub struct SmartStepBuilder { /* private fields */ }Expand description
Smart step builder for legacy system
Implementations§
Source§impl SmartStepBuilder
impl SmartStepBuilder
pub fn new(title: &str) -> Self
pub fn with_human_message(self, title: &str, message: &str) -> Self
pub fn with_api_data( self, _category: &str, _step_type: &str, _operation: &str, ) -> Self
pub fn with_input(self, _key: &str, _value: &str) -> Self
pub fn with_output(self, _key: &str, _value: &str) -> Self
pub fn with_math_context( self, _equation: &str, _variable: &str, _progress: f64, ) -> Self
pub fn with_message_key( self, _category: &str, _message_type: &str, _variant: u32, ) -> Self
pub fn with_presentation( self, _color: &str, _importance: u8, _animation: &str, ) -> Self
pub fn build(self) -> SmartStep
Auto Trait Implementations§
impl Freeze for SmartStepBuilder
impl RefUnwindSafe for SmartStepBuilder
impl Send for SmartStepBuilder
impl Sync for SmartStepBuilder
impl Unpin for SmartStepBuilder
impl UnwindSafe for SmartStepBuilder
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more