pub struct ProcessedRequest {
pub request_id: RequestId,
pub unique_key: String,
pub was_already_present: bool,
pub was_already_handled: bool,
}Expand description
Result metadata for adding one request.
Fields§
§request_id: RequestIdStable request identifier.
unique_key: StringQueue deduplication key.
was_already_present: boolWhether the request was already known to the queue.
was_already_handled: boolWhether the known request had already been handled.
Trait Implementations§
Source§impl Clone for ProcessedRequest
impl Clone for ProcessedRequest
Source§fn clone(&self) -> ProcessedRequest
fn clone(&self) -> ProcessedRequest
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 ProcessedRequest
impl RefUnwindSafe for ProcessedRequest
impl Send for ProcessedRequest
impl Sync for ProcessedRequest
impl Unpin for ProcessedRequest
impl UnsafeUnpin for ProcessedRequest
impl UnwindSafe for ProcessedRequest
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