pub struct TaskBuilder { /* private fields */ }Implementations§
Source§impl TaskBuilder
impl TaskBuilder
pub fn new() -> Self
pub fn id(self, id: impl Into<String>) -> Self
pub fn name(self, name: impl Into<String>) -> Self
pub fn description(self, description: impl Into<String>) -> Self
pub fn condition(self, condition: Value) -> Self
pub fn function(self, function: impl Into<String>) -> Self
pub fn input(self, input: Value) -> Self
pub fn build(self) -> Task
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TaskBuilder
impl RefUnwindSafe for TaskBuilder
impl Send for TaskBuilder
impl Sync for TaskBuilder
impl Unpin for TaskBuilder
impl UnwindSafe for TaskBuilder
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