pub struct BatchCallRecordsResource<'a> { /* private fields */ }Expand description
A batch’s per-number records. Reached via BatchCallsResource::records.
Implementations§
Source§impl<'a> BatchCallRecordsResource<'a>
impl<'a> BatchCallRecordsResource<'a>
Sourcepub async fn list(
&self,
batch_id: &str,
params: ListBatchCallRecordsParams,
) -> Result<Page<BatchCallRecord>>
pub async fn list( &self, batch_id: &str, params: ListBatchCallRecordsParams, ) -> Result<Page<BatchCallRecord>>
Lists a batch’s records, one page at a time.
Sourcepub fn list_stream(
&self,
batch_id: &str,
params: ListBatchCallRecordsParams,
) -> impl Stream<Item = Result<BatchCallRecord>> + Send
pub fn list_stream( &self, batch_id: &str, params: ListBatchCallRecordsParams, ) -> impl Stream<Item = Result<BatchCallRecord>> + Send
Lists a batch’s records, transparently fetching every page.
Sourcepub async fn update(
&self,
batch_id: &str,
record_id: &str,
params: UpdateBatchCallRecordParams,
) -> Result<BatchCallRecord>
pub async fn update( &self, batch_id: &str, record_id: &str, params: UpdateBatchCallRecordParams, ) -> Result<BatchCallRecord>
Edits a single pending record before it runs.
Trait Implementations§
Source§impl<'a> Clone for BatchCallRecordsResource<'a>
impl<'a> Clone for BatchCallRecordsResource<'a>
Source§fn clone(&self) -> BatchCallRecordsResource<'a>
fn clone(&self) -> BatchCallRecordsResource<'a>
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 moreimpl<'a> Copy for BatchCallRecordsResource<'a>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for BatchCallRecordsResource<'a>
impl<'a> !UnwindSafe for BatchCallRecordsResource<'a>
impl<'a> Freeze for BatchCallRecordsResource<'a>
impl<'a> Send for BatchCallRecordsResource<'a>
impl<'a> Sync for BatchCallRecordsResource<'a>
impl<'a> Unpin for BatchCallRecordsResource<'a>
impl<'a> UnsafeUnpin for BatchCallRecordsResource<'a>
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