pub struct PatchProcessingResult {
pub state: HashState,
pub mutations: Vec<Mutation>,
pub added_macs: Vec<AppStateMutationMAC>,
pub removed_index_macs: Vec<Vec<u8>>,
}Expand description
Result of processing a single patch.
Fields§
§state: HashStateThe updated hash state after processing.
mutations: Vec<Mutation>The decoded mutations from the patch.
added_macs: Vec<AppStateMutationMAC>The mutation MACs that were added.
removed_index_macs: Vec<Vec<u8>>The index MACs that were removed.
Trait Implementations§
Source§impl Clone for PatchProcessingResult
impl Clone for PatchProcessingResult
Source§fn clone(&self) -> PatchProcessingResult
fn clone(&self) -> PatchProcessingResult
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 moreAuto Trait Implementations§
impl Freeze for PatchProcessingResult
impl RefUnwindSafe for PatchProcessingResult
impl Send for PatchProcessingResult
impl Sync for PatchProcessingResult
impl Unpin for PatchProcessingResult
impl UnsafeUnpin for PatchProcessingResult
impl UnwindSafe for PatchProcessingResult
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