pub struct BatchResult {
pub results: Vec<Result<ActionResult, ActionError>>,
pub rolled_back: bool,
pub revision: u64,
}Expand description
Ordered batch outcome, retaining the outcome of each attempted call.
Fields§
§results: Vec<Result<ActionResult, ActionError>>Per-call results in original order.
rolled_back: boolTrue if a failed atomic batch was rolled back successfully.
revision: u64Current revision, including rollback.
Implementations§
Trait Implementations§
Source§impl Clone for BatchResult
impl Clone for BatchResult
Auto Trait Implementations§
impl Forget for BatchResult
impl Freeze for BatchResult
impl RefUnwindSafe for BatchResult
impl Send for BatchResult
impl Sync for BatchResult
impl Unpin for BatchResult
impl UnsafeUnpin 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