#[non_exhaustive]pub struct WriteStatus {
pub inserted: u32,
pub replaced: u32,
pub unchanged: u32,
pub skipped: u32,
pub deleted: u32,
pub errors: u32,
pub first_error: Option<String>,
pub generated_keys: Option<Vec<Uuid>>,
pub warnings: Option<Vec<String>>,
pub changes: Option<Vec<Change<Value, Value>>>,
}
Expand description
Status returned by a write command
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.inserted: u32
§replaced: u32
§unchanged: u32
§skipped: u32
§deleted: u32
§errors: u32
§first_error: Option<String>
§generated_keys: Option<Vec<Uuid>>
§warnings: Option<Vec<String>>
§changes: Option<Vec<Change<Value, Value>>>
Trait Implementations§
Source§impl Clone for WriteStatus
impl Clone for WriteStatus
Source§fn clone(&self) -> WriteStatus
fn clone(&self) -> WriteStatus
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 WriteStatus
impl Debug for WriteStatus
Source§impl<'de> Deserialize<'de> for WriteStatus
impl<'de> Deserialize<'de> for WriteStatus
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
Auto Trait Implementations§
impl Freeze for WriteStatus
impl RefUnwindSafe for WriteStatus
impl Send for WriteStatus
impl Sync for WriteStatus
impl Unpin for WriteStatus
impl UnwindSafe for WriteStatus
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