pub struct QueueLeasedJobWire {
pub lease_id: u64,
pub job_id: u64,
pub payload: Vec<u8>,
}Expand description
One job returned under lease on the wire.
Fields§
§lease_id: u64Lease token — required for ack/nack.
job_id: u64Job id within the stream.
payload: Vec<u8>Job body copied at enqueue time.
Trait Implementations§
Source§impl Clone for QueueLeasedJobWire
impl Clone for QueueLeasedJobWire
Source§fn clone(&self) -> QueueLeasedJobWire
fn clone(&self) -> QueueLeasedJobWire
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 QueueLeasedJobWire
impl Debug for QueueLeasedJobWire
Source§impl<'de> Deserialize<'de> for QueueLeasedJobWire
impl<'de> Deserialize<'de> for QueueLeasedJobWire
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
impl Eq for QueueLeasedJobWire
Source§impl PartialEq for QueueLeasedJobWire
impl PartialEq for QueueLeasedJobWire
Source§impl Serialize for QueueLeasedJobWire
impl Serialize for QueueLeasedJobWire
impl StructuralPartialEq for QueueLeasedJobWire
Auto Trait Implementations§
impl Freeze for QueueLeasedJobWire
impl RefUnwindSafe for QueueLeasedJobWire
impl Send for QueueLeasedJobWire
impl Sync for QueueLeasedJobWire
impl Unpin for QueueLeasedJobWire
impl UnsafeUnpin for QueueLeasedJobWire
impl UnwindSafe for QueueLeasedJobWire
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