pub struct BatchItemError {
pub code: String,
pub message: String,
}Expand description
Public, safe-to-expose shape of a per-item failure. Mirrors
crate::CoolErrorResponse without the optional details field
— batch callers asking for per-item detail can repeat the
operation singly against the failed item to get the full error
envelope.
Fields§
§code: String§message: StringImplementations§
Trait Implementations§
Source§impl Clone for BatchItemError
impl Clone for BatchItemError
Source§fn clone(&self) -> BatchItemError
fn clone(&self) -> BatchItemError
Returns a duplicate of the value. Read more
1.0.0 · 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 BatchItemError
impl Debug for BatchItemError
Source§impl<'de> Deserialize<'de> for BatchItemError
impl<'de> Deserialize<'de> for BatchItemError
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 PartialEq for BatchItemError
impl PartialEq for BatchItemError
Source§impl Serialize for BatchItemError
impl Serialize for BatchItemError
impl StructuralPartialEq for BatchItemError
Auto Trait Implementations§
impl Freeze for BatchItemError
impl RefUnwindSafe for BatchItemError
impl Send for BatchItemError
impl Sync for BatchItemError
impl Unpin for BatchItemError
impl UnsafeUnpin for BatchItemError
impl UnwindSafe for BatchItemError
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