pub struct DocWriteResult {
pub success: bool,
pub code: ErrorCode,
pub message: String,
}Expand description
Per-document outcome in a batch write.
Fields§
§success: bool§code: ErrorCode§message: StringImplementations§
Source§impl DocWriteResult
impl DocWriteResult
pub fn is_success(&self) -> bool
Trait Implementations§
Source§impl Clone for DocWriteResult
impl Clone for DocWriteResult
Source§impl Debug for DocWriteResult
impl Debug for DocWriteResult
impl Eq for DocWriteResult
Source§impl PartialEq for DocWriteResult
impl PartialEq for DocWriteResult
impl StructuralPartialEq for DocWriteResult
Auto Trait Implementations§
impl Freeze for DocWriteResult
impl RefUnwindSafe for DocWriteResult
impl Send for DocWriteResult
impl Sync for DocWriteResult
impl Unpin for DocWriteResult
impl UnsafeUnpin for DocWriteResult
impl UnwindSafe for DocWriteResult
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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more