[−][src]Struct sidekiq::Job
Fields
class: String
args: Vec<Value>
retry: i64
queue: String
jid: String
created_at: u64
enqueued_at: u64
Implementations
impl Job
[src]
Examples
use std::default::Default; use sidekiq::Value; use sidekiq::{Job, JobOpts}; // Create a job let class = "MyClass".to_string(); let job_opts = JobOpts { queue: "test".to_string(), ..Default::default() }; let job = Job::new(class, vec![sidekiq::Value::Null], job_opts);
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Job
[src]
impl Send for Job
[src]
impl Sync for Job
[src]
impl Unpin for Job
[src]
impl UnwindSafe for Job
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,