pub struct HashUpdateResult {
pub has_missing_remove: bool,
}Expand description
Result of updating the hash state with mutations.
Fields§
§has_missing_remove: boolWhether a REMOVE mutation was missing its previous value.
This happens when the server has an entry we don’t have locally.
WhatsApp Web tracks this as hasMissingRemove and uses it to
determine if MAC validation failures should be fatal.
Trait Implementations§
Source§impl Clone for HashUpdateResult
impl Clone for HashUpdateResult
Source§fn clone(&self) -> HashUpdateResult
fn clone(&self) -> HashUpdateResult
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 HashUpdateResult
impl Debug for HashUpdateResult
Source§impl Default for HashUpdateResult
impl Default for HashUpdateResult
Source§fn default() -> HashUpdateResult
fn default() -> HashUpdateResult
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for HashUpdateResult
impl RefUnwindSafe for HashUpdateResult
impl Send for HashUpdateResult
impl Sync for HashUpdateResult
impl Unpin for HashUpdateResult
impl UnsafeUnpin for HashUpdateResult
impl UnwindSafe for HashUpdateResult
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