pub struct BatchCallRecord {Show 14 fields
pub batch_id: String,
pub record_id: String,
pub phone_number: Option<String>,
pub metadata: Option<Map<String, Value>>,
pub status: Option<String>,
pub call_id: Option<String>,
pub reason: Option<String>,
pub attempts: Option<u32>,
pub recording_id: Option<String>,
pub recording: Option<Value>,
pub call_duration: Option<f64>,
pub created_at: Option<String>,
pub updated_at: Option<String>,
pub extra: Map<String, Value>,
}Expand description
A single per-number record in a batch.
Fields§
§batch_id: StringThe batch this record belongs to.
record_id: StringThe record id.
phone_number: Option<String>The number to call.
metadata: Option<Map<String, Value>>Free-form metadata, merged into the call.
status: Option<String>The record’s status.
call_id: Option<String>The call placed for this record.
reason: Option<String>Why the call did not connect.
attempts: Option<u32>How many attempts were made.
recording_id: Option<String>The recording of this record’s call.
recording: Option<Value>The recording object.
call_duration: Option<f64>How long the call lasted, in seconds.
created_at: Option<String>When the record was created.
updated_at: Option<String>When the record was last updated.
extra: Map<String, Value>Any fields the server returned that this SDK does not model yet.
Trait Implementations§
Source§impl Clone for BatchCallRecord
impl Clone for BatchCallRecord
Source§fn clone(&self) -> BatchCallRecord
fn clone(&self) -> BatchCallRecord
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 BatchCallRecord
impl Debug for BatchCallRecord
Source§impl<'de> Deserialize<'de> for BatchCallRecord
impl<'de> Deserialize<'de> for BatchCallRecord
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
Auto Trait Implementations§
impl Freeze for BatchCallRecord
impl RefUnwindSafe for BatchCallRecord
impl Send for BatchCallRecord
impl Sync for BatchCallRecord
impl Unpin for BatchCallRecord
impl UnsafeUnpin for BatchCallRecord
impl UnwindSafe for BatchCallRecord
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