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
sourceimpl Clone for MessageProcessProgressDone
impl Clone for MessageProcessProgressDone
sourcefn clone(&self) -> MessageProcessProgressDone
fn clone(&self) -> MessageProcessProgressDone
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for MessageProcessProgressDone
impl Debug for MessageProcessProgressDone
sourceimpl<'de> Deserialize<'de> for MessageProcessProgressDone
impl<'de> Deserialize<'de> for MessageProcessProgressDone
sourcefn 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
sourceimpl PartialEq<MessageProcessProgressDone> for MessageProcessProgressDone
impl PartialEq<MessageProcessProgressDone> for MessageProcessProgressDone
sourcefn eq(&self, other: &MessageProcessProgressDone) -> bool
fn eq(&self, other: &MessageProcessProgressDone) -> bool
impl Eq for MessageProcessProgressDone
impl StructuralEq for MessageProcessProgressDone
impl StructuralPartialEq for MessageProcessProgressDone
Auto Trait Implementations
impl RefUnwindSafe for MessageProcessProgressDone
impl Send for MessageProcessProgressDone
impl Sync for MessageProcessProgressDone
impl Unpin for MessageProcessProgressDone
impl UnwindSafe for MessageProcessProgressDone
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.