pub struct MessageBatch {
pub id: String,
pub type: String,
pub processing_status: MessageBatchProcessingStatus,
pub request_counts: MessageBatchRequestCounts,
pub ended_at: Option<OffsetDateTime>,
pub created_at: OffsetDateTime,
pub expires_at: OffsetDateTime,
pub cancel_initiated_at: Option<OffsetDateTime>,
pub results_url: Option<String>,
pub archived_at: Option<OffsetDateTime>,
}Expand description
A Message Batch returned by the API.
Fields§
§id: StringUnique object identifier.
type: StringObject type, always "message_batch".
processing_status: MessageBatchProcessingStatusCurrent processing status for the batch.
request_counts: MessageBatchRequestCountsCounts of individual requests by processing state.
ended_at: Option<OffsetDateTime>Time at which processing ended, if the batch has ended.
created_at: OffsetDateTimeTime at which the batch was created.
expires_at: OffsetDateTimeTime at which the batch expires if it has not completed.
cancel_initiated_at: Option<OffsetDateTime>Time at which cancellation was initiated, if any.
results_url: Option<String>URL where results may be downloaded once available.
archived_at: Option<OffsetDateTime>Time at which results were archived and became unavailable, if any.
Trait Implementations§
Source§impl Clone for MessageBatch
impl Clone for MessageBatch
Source§fn clone(&self) -> MessageBatch
fn clone(&self) -> MessageBatch
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 moreSource§impl Debug for MessageBatch
impl Debug for MessageBatch
Source§impl<'de> Deserialize<'de> for MessageBatch
impl<'de> Deserialize<'de> for MessageBatch
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 MessageBatch
Source§impl PartialEq for MessageBatch
impl PartialEq for MessageBatch
Source§fn eq(&self, other: &MessageBatch) -> bool
fn eq(&self, other: &MessageBatch) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for MessageBatch
impl Serialize for MessageBatch
impl StructuralPartialEq for MessageBatch
Auto Trait Implementations§
impl Freeze for MessageBatch
impl RefUnwindSafe for MessageBatch
impl Send for MessageBatch
impl Sync for MessageBatch
impl Unpin for MessageBatch
impl UnsafeUnpin for MessageBatch
impl UnwindSafe for MessageBatch
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.