Struct catenis_api_client::api::MessageProcessProgress
source · pub struct MessageProcessProgress {
pub bytes_processed: usize,
pub done: bool,
pub success: Option<bool>,
pub error: Option<MessageProcessError>,
pub finish_date: Option<UtcDateTime>,
}
Expand description
Report on the asynchronous processing status of a message.
Fields
bytes_processed: usize
Total number of bytes of message that had already been processed.
done: bool
Indicates whether processing has been finished.
success: Option<bool>
Indicates whether the message has been successfully processed.
Note: only returned if processing has already been finished.
error: Option<MessageProcessError>
Processing error.
Note: only returned if processing finished with error.
finish_date: Option<UtcDateTime>
Date and time when processing was finalized.
Note: only returned if processing has already been finished.
Trait Implementations
sourceimpl Clone for MessageProcessProgress
impl Clone for MessageProcessProgress
sourcefn clone(&self) -> MessageProcessProgress
fn clone(&self) -> MessageProcessProgress
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 MessageProcessProgress
impl Debug for MessageProcessProgress
sourceimpl<'de> Deserialize<'de> for MessageProcessProgress
impl<'de> Deserialize<'de> for MessageProcessProgress
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<MessageProcessProgress> for MessageProcessProgress
impl PartialEq<MessageProcessProgress> for MessageProcessProgress
sourcefn eq(&self, other: &MessageProcessProgress) -> bool
fn eq(&self, other: &MessageProcessProgress) -> bool
impl Eq for MessageProcessProgress
impl StructuralEq for MessageProcessProgress
impl StructuralPartialEq for MessageProcessProgress
Auto Trait Implementations
impl RefUnwindSafe for MessageProcessProgress
impl Send for MessageProcessProgress
impl Sync for MessageProcessProgress
impl Unpin for MessageProcessProgress
impl UnwindSafe for MessageProcessProgress
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.