pub struct BatchResult {
pub success: bool,
pub executed: usize,
pub total: usize,
pub failed_at: Option<usize>,
pub changes: Vec<String>,
pub errors: Vec<String>,
pub records: Vec<OperationRecord>,
pub transaction_id: String,
pub duration_ms: u64,
}Expand description
Result of batch execution
Fields§
§success: boolWhether all operations succeeded
executed: usizeNumber of operations executed
total: usizeTotal operations in batch
failed_at: Option<usize>Index where failure occurred (if any)
changes: Vec<String>Changes made to files
errors: Vec<String>Errors encountered
records: Vec<OperationRecord>Execution records for each operation
transaction_id: StringUnique transaction ID
duration_ms: u64Execution duration in milliseconds
Trait Implementations§
Source§impl Clone for BatchResult
impl Clone for BatchResult
Source§fn clone(&self) -> BatchResult
fn clone(&self) -> BatchResult
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 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
Auto Trait Implementations§
impl Freeze for BatchResult
impl RefUnwindSafe for BatchResult
impl Send for BatchResult
impl Sync for BatchResult
impl Unpin for BatchResult
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