pub struct BatchErrorCollection {
pub data: Vec<BatchError>,
pub object: BatchErrorCollectionObject,
}Expand description
Error collection for the batch.
Fields§
§data: Vec<BatchError>Array of batch error objects.
object: BatchErrorCollectionObjectObject type for the error collection. Value: list.
Implementations§
Source§impl BatchErrorCollection
impl BatchErrorCollection
pub fn builder() -> BatchErrorCollection
Trait Implementations§
Source§impl Clone for BatchErrorCollection
impl Clone for BatchErrorCollection
Source§impl Debug for BatchErrorCollection
impl Debug for BatchErrorCollection
Source§impl<'de> Deserialize<'de> for BatchErrorCollection
impl<'de> Deserialize<'de> for BatchErrorCollection
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
Source§impl From<BatchErrorCollection> for BatchErrorCollection
impl From<BatchErrorCollection> for BatchErrorCollection
Source§fn from(value: BatchErrorCollection) -> Self
fn from(value: BatchErrorCollection) -> Self
Converts to this type from the input type.
Source§impl Serialize for BatchErrorCollection
impl Serialize for BatchErrorCollection
Source§impl TryFrom<BatchErrorCollection> for BatchErrorCollection
impl TryFrom<BatchErrorCollection> for BatchErrorCollection
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: BatchErrorCollection) -> Result<Self, ConversionError>
fn try_from(value: BatchErrorCollection) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Forget for BatchErrorCollection
impl Freeze for BatchErrorCollection
impl Move for BatchErrorCollection
impl RefUnwindSafe for BatchErrorCollection
impl Send for BatchErrorCollectionwhere
RawVecInner: Send,
impl Sync for BatchErrorCollectionwhere
RawVecInner: Sync,
impl Unpin for BatchErrorCollection
impl UnsafeUnpin for BatchErrorCollection
impl UnwindSafe for BatchErrorCollectionwhere
RawVecInner: UnwindSafe,
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