pub struct UpdateResult {
pub operation_id: String,
pub success: bool,
pub operations_completed: Vec<String>,
pub conflicts: Vec<ConflictInfo>,
pub processing_time_ms: u64,
pub items_affected: usize,
pub error: Option<String>,
pub metadata: HashMap<String, Value>,
}Expand description
Result of an update operation
Fields§
§operation_id: StringOperation ID
success: boolWhether the operation succeeded
operations_completed: Vec<String>Operations performed
conflicts: Vec<ConflictInfo>Conflicts encountered
processing_time_ms: u64Processing time in milliseconds
items_affected: usizeItems affected
error: Option<String>Error details if failed
metadata: HashMap<String, Value>Metadata about the operation
Trait Implementations§
Source§impl Clone for UpdateResult
impl Clone for UpdateResult
Source§fn clone(&self) -> UpdateResult
fn clone(&self) -> UpdateResult
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 UpdateResult
impl Debug for UpdateResult
Source§impl<'de> Deserialize<'de> for UpdateResult
impl<'de> Deserialize<'de> for UpdateResult
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 UpdateResult
impl RefUnwindSafe for UpdateResult
impl Send for UpdateResult
impl Sync for UpdateResult
impl Unpin for UpdateResult
impl UnwindSafe for UpdateResult
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