pub struct MessageProcessProgressDone {
pub bytes_processed: usize,
pub done: bool,
pub success: bool,
pub error: Option<MessageProcessError>,
pub finish_date: UtcDateTime,
}
Expand description
Final status for asynchronous message processing.
Fields§
§bytes_processed: usize
Total number of bytes of message that had been processed.
done: bool
Indicates that processing has finished. This should always to true
.
success: bool
Indicates whether message has been successfully processed.
error: Option<MessageProcessError>
Processing error. Only returned if processing finished with error.
finish_date: UtcDateTime
Date and time when processing was finalized.
Trait Implementations§
Source§impl Clone for MessageProcessProgressDone
impl Clone for MessageProcessProgressDone
Source§fn clone(&self) -> MessageProcessProgressDone
fn clone(&self) -> MessageProcessProgressDone
Returns a duplicate of the value. Read more
1.0.0 · 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 MessageProcessProgressDone
impl Debug for MessageProcessProgressDone
Source§impl<'de> Deserialize<'de> for MessageProcessProgressDone
impl<'de> Deserialize<'de> for MessageProcessProgressDone
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 MessageProcessProgressDone
impl StructuralPartialEq for MessageProcessProgressDone
Auto Trait Implementations§
impl Freeze for MessageProcessProgressDone
impl RefUnwindSafe for MessageProcessProgressDone
impl Send for MessageProcessProgressDone
impl Sync for MessageProcessProgressDone
impl Unpin for MessageProcessProgressDone
impl UnwindSafe for MessageProcessProgressDone
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.