pub struct Enqueue {
pub attributes: EnqueueAttributes,
pub name: Option<String>,
pub task: Option<Task>,
}Fields§
§attributes: EnqueueAttributes§name: Option<String>§task: Option<Task>Implementations§
Source§impl Enqueue
impl Enqueue
pub fn new() -> Self
pub fn name(self, name: impl Into<String>) -> Self
pub fn action(self, action: impl Into<String>) -> Self
pub fn method(self, method: impl Into<String>) -> Self
pub fn wait_url(self, wait_url: impl Into<String>) -> Self
pub fn wait_url_method(self, method: impl Into<String>) -> Self
pub fn workflow_sid(self, workflow_sid: impl Into<String>) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Enqueue
impl RefUnwindSafe for Enqueue
impl Send for Enqueue
impl Sync for Enqueue
impl Unpin for Enqueue
impl UnwindSafe for Enqueue
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