pub struct BatchErrors {
pub data: Vec<BatchError>,
pub object: Option<String>,
pub extra: BTreeMap<String, Value>,
}Expand description
表示 batch 的错误摘要列表。
Fields§
§data: Vec<BatchError>错误列表。
object: Option<String>对象类型。
extra: BTreeMap<String, Value>额外字段。
Trait Implementations§
Source§impl Clone for BatchErrors
impl Clone for BatchErrors
Source§fn clone(&self) -> BatchErrors
fn clone(&self) -> BatchErrors
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 BatchErrors
impl Debug for BatchErrors
Source§impl Default for BatchErrors
impl Default for BatchErrors
Source§fn default() -> BatchErrors
fn default() -> BatchErrors
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BatchErrors
impl<'de> Deserialize<'de> for BatchErrors
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 BatchErrors
impl PartialEq for BatchErrors
Source§impl Serialize for BatchErrors
impl Serialize for BatchErrors
impl Eq for BatchErrors
impl StructuralPartialEq for BatchErrors
Auto Trait Implementations§
impl Freeze for BatchErrors
impl RefUnwindSafe for BatchErrors
impl Send for BatchErrors
impl Sync for BatchErrors
impl Unpin for BatchErrors
impl UnsafeUnpin for BatchErrors
impl UnwindSafe for BatchErrors
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.