pub struct BatchResult {
pub id: String,
pub status: String,
pub failed_index: Option<i64>,
pub error: Option<ErrorBody>,
}Expand description
An atomic batch’s fate (ack.batch). When rejected, the mutation at
failed_index is rejected and every other one aborted.
Fields§
§id: String§status: Stringapplied, rejected or duplicate.
failed_index: Option<i64>§error: Option<ErrorBody>Trait Implementations§
Source§impl Clone for BatchResult
impl Clone for BatchResult
Source§impl Debug for BatchResult
impl Debug for BatchResult
Source§impl<'de> Deserialize<'de> for BatchResult
impl<'de> Deserialize<'de> for BatchResult
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 BatchResult
impl PartialEq for BatchResult
Source§impl Serialize for BatchResult
impl Serialize for BatchResult
impl StructuralPartialEq for BatchResult
Auto Trait Implementations§
impl Forget for BatchResult
impl Freeze for BatchResult
impl Move for BatchResult
impl RefUnwindSafe for BatchResult
impl Send for BatchResult
impl Sync for BatchResult
impl Unpin for BatchResult
impl UnsafeUnpin for BatchResultwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const LeafNode<String, Value> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, Value)>>: UnsafeUnpin,
impl UnwindSafe for BatchResult
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