pub struct EnqueueOptions {
pub queue: String,
pub run_at: Option<DateTime<Utc>>,
}Expand description
Options for customising a job enqueue operation.
Fields§
§queue: StringName of the queue to place the job in. Defaults to "default".
run_at: Option<DateTime<Utc>>When to make the job eligible for execution. Defaults to now (immediate).
Trait Implementations§
Source§impl Clone for EnqueueOptions
impl Clone for EnqueueOptions
Source§fn clone(&self) -> EnqueueOptions
fn clone(&self) -> EnqueueOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for EnqueueOptions
impl RefUnwindSafe for EnqueueOptions
impl Send for EnqueueOptions
impl Sync for EnqueueOptions
impl Unpin for EnqueueOptions
impl UnsafeUnpin for EnqueueOptions
impl UnwindSafe for EnqueueOptions
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