pub struct BatchCallStats {
pub batch_id: String,
pub status: Option<BatchCallStatus>,
pub total: Option<i64>,
pub counts: HashMap<String, i64>,
}Expand description
A status breakdown for a batch.
Fields§
§batch_id: StringThe batch this breakdown describes.
status: Option<BatchCallStatus>The batch’s status.
total: Option<i64>The total record count.
counts: HashMap<String, i64>The per-status tallies, keyed by display label, e.g. scheduled,
running, completed, not connected, cancelled — plus total.
Trait Implementations§
Source§impl Clone for BatchCallStats
impl Clone for BatchCallStats
Source§fn clone(&self) -> BatchCallStats
fn clone(&self) -> BatchCallStats
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 BatchCallStats
impl Debug for BatchCallStats
Source§impl Default for BatchCallStats
impl Default for BatchCallStats
Source§fn default() -> BatchCallStats
fn default() -> BatchCallStats
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BatchCallStats
impl<'de> Deserialize<'de> for BatchCallStats
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
The per-status breakdown arrives as arbitrary sibling keys, so every
remaining numeric field is collected into counts.
Auto Trait Implementations§
impl Freeze for BatchCallStats
impl RefUnwindSafe for BatchCallStats
impl Send for BatchCallStats
impl Sync for BatchCallStats
impl Unpin for BatchCallStats
impl UnsafeUnpin for BatchCallStats
impl UnwindSafe for BatchCallStats
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