pub struct QueueLeaseReply {
pub jobs: Vec<QueueLeasedJobWire>,
pub error: Option<String>,
}Expand description
Response to QueueLeaseRequest.
Fields§
§jobs: Vec<QueueLeasedJobWire>Leased jobs (may be empty when the queue is idle).
error: Option<String>Set when the lease RPC failed.
Trait Implementations§
Source§impl Clone for QueueLeaseReply
impl Clone for QueueLeaseReply
Source§fn clone(&self) -> QueueLeaseReply
fn clone(&self) -> QueueLeaseReply
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 QueueLeaseReply
impl Debug for QueueLeaseReply
Source§impl<'de> Deserialize<'de> for QueueLeaseReply
impl<'de> Deserialize<'de> for QueueLeaseReply
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 QueueLeaseReply
Source§impl PartialEq for QueueLeaseReply
impl PartialEq for QueueLeaseReply
Source§impl Serialize for QueueLeaseReply
impl Serialize for QueueLeaseReply
impl StructuralPartialEq for QueueLeaseReply
Auto Trait Implementations§
impl Freeze for QueueLeaseReply
impl RefUnwindSafe for QueueLeaseReply
impl Send for QueueLeaseReply
impl Sync for QueueLeaseReply
impl Unpin for QueueLeaseReply
impl UnsafeUnpin for QueueLeaseReply
impl UnwindSafe for QueueLeaseReply
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