pub struct RestoreCount {
pub entity: String,
pub expected: u64,
}Expand description
An optional precondition checked against the transaction’s current snapshot.
Fields§
§entity: String§expected: u64Trait Implementations§
Source§impl Clone for RestoreCount
impl Clone for RestoreCount
Source§fn clone(&self) -> RestoreCount
fn clone(&self) -> RestoreCount
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RestoreCount
impl RefUnwindSafe for RestoreCount
impl Send for RestoreCount
impl Sync for RestoreCount
impl Unpin for RestoreCount
impl UnsafeUnpin for RestoreCount
impl UnwindSafe for RestoreCount
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