pub struct JobOptions {
pub queue: String,
pub delay: Option<Duration>,
pub at: Option<DateTime<Utc>>,
pub max_retries: u32,
pub priority: i32,
}Fields§
§queue: String§delay: Option<Duration>§at: Option<DateTime<Utc>>§max_retries: u32§priority: i32Implementations§
Source§impl JobOptions
impl JobOptions
Trait Implementations§
Source§impl Clone for JobOptions
impl Clone for JobOptions
Source§fn clone(&self) -> JobOptions
fn clone(&self) -> JobOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for JobOptions
impl Debug for JobOptions
Source§impl Default for JobOptions
impl Default for JobOptions
Source§impl<'de> Deserialize<'de> for JobOptions
impl<'de> Deserialize<'de> for JobOptions
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for JobOptions
impl RefUnwindSafe for JobOptions
impl Send for JobOptions
impl Sync for JobOptions
impl Unpin for JobOptions
impl UnsafeUnpin for JobOptions
impl UnwindSafe for JobOptions
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