pub struct DeliveryResponse {
pub count: u64,
pub requests: Vec<Delivery>,
pub cursor: Option<String>,
}Expand description
Response from peek/claim: the count, decrypted deliveries, and (peek) cursor.
Fields§
§count: u64Number of items returned.
requests: Vec<Delivery>Decrypted deliveries.
cursor: Option<String>Cursor to pass to a subsequent peek, if any.
Trait Implementations§
Source§impl Clone for DeliveryResponse
impl Clone for DeliveryResponse
Source§fn clone(&self) -> DeliveryResponse
fn clone(&self) -> DeliveryResponse
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 DeliveryResponse
impl RefUnwindSafe for DeliveryResponse
impl Send for DeliveryResponse
impl Sync for DeliveryResponse
impl Unpin for DeliveryResponse
impl UnsafeUnpin for DeliveryResponse
impl UnwindSafe for DeliveryResponse
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