pub struct OnDemandJobRegistration {
pub args_template: Value,
pub enqueue_factory: fn(String, Value) -> Result<JobEnvelope, OxanaError>,
}Fields§
§args_template: Value§enqueue_factory: fn(String, Value) -> Result<JobEnvelope, OxanaError>Trait Implementations§
Source§impl Clone for OnDemandJobRegistration
impl Clone for OnDemandJobRegistration
Source§fn clone(&self) -> OnDemandJobRegistration
fn clone(&self) -> OnDemandJobRegistration
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 moreAuto Trait Implementations§
impl Freeze for OnDemandJobRegistration
impl RefUnwindSafe for OnDemandJobRegistration
impl Send for OnDemandJobRegistration
impl Sync for OnDemandJobRegistration
impl Unpin for OnDemandJobRegistration
impl UnsafeUnpin for OnDemandJobRegistration
impl UnwindSafe for OnDemandJobRegistration
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