pub struct BatchErrorData { /* private fields */ }Implementations§
Source§impl BatchErrorData
impl BatchErrorData
pub fn len(&self) -> usize
pub fn new(responses: Vec<BatchResponseRecord>) -> BatchErrorData
pub fn responses(&self) -> &Vec<BatchResponseRecord>
pub fn request_ids(&self) -> Vec<CustomRequestId>
Sourcepub fn iter(&self) -> Iter<'_, BatchResponseRecord>
pub fn iter(&self) -> Iter<'_, BatchResponseRecord>
Returns an iterator over the BatchResponseRecord elements.
Trait Implementations§
Source§impl Debug for BatchErrorData
impl Debug for BatchErrorData
Source§impl From<Vec<BatchErrorData>> for BatchErrorData
impl From<Vec<BatchErrorData>> for BatchErrorData
Source§fn from(batch_errors: Vec<BatchErrorData>) -> BatchErrorData
fn from(batch_errors: Vec<BatchErrorData>) -> BatchErrorData
Converts to this type from the input type.
Source§impl<'a> IntoIterator for &'a BatchErrorData
impl<'a> IntoIterator for &'a BatchErrorData
Source§type Item = &'a BatchResponseRecord
type Item = &'a BatchResponseRecord
The type of the elements being iterated over.
Source§type IntoIter = Iter<'a, BatchResponseRecord>
type IntoIter = Iter<'a, BatchResponseRecord>
Which kind of iterator are we turning this into?
Source§fn into_iter(self) -> <&'a BatchErrorData as IntoIterator>::IntoIter
fn into_iter(self) -> <&'a BatchErrorData as IntoIterator>::IntoIter
Creates an iterator from a value. Read more
Source§impl IntoIterator for BatchErrorData
impl IntoIterator for BatchErrorData
Source§type Item = BatchResponseRecord
type Item = BatchResponseRecord
The type of the elements being iterated over.
Source§type IntoIter = IntoIter<BatchResponseRecord>
type IntoIter = IntoIter<BatchResponseRecord>
Which kind of iterator are we turning this into?
Source§fn into_iter(self) -> <BatchErrorData as IntoIterator>::IntoIter
fn into_iter(self) -> <BatchErrorData as IntoIterator>::IntoIter
Creates an iterator from a value. Read more
Auto Trait Implementations§
impl Freeze for BatchErrorData
impl RefUnwindSafe for BatchErrorData
impl Send for BatchErrorData
impl !Sync for BatchErrorData
impl Unpin for BatchErrorData
impl UnwindSafe for BatchErrorData
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