pub struct LastClaim {
pub device: DeviceId,
pub number: u64,
pub digest: Option<[u8; 32]>,
}Expand description
A device’s last included claim and its complete-slot digest.
Fields§
§device: DeviceIdThe known device.
number: u64Last included claim across all slot kinds.
digest: Option<[u8; 32]>SHA-256 of that slot’s complete bytes; absent exactly when number is zero.
Trait Implementations§
impl Eq for LastClaim
impl StructuralPartialEq for LastClaim
Auto Trait Implementations§
impl Freeze for LastClaim
impl RefUnwindSafe for LastClaim
impl Send for LastClaim
impl Sync for LastClaim
impl Unpin for LastClaim
impl UnsafeUnpin for LastClaim
impl UnwindSafe for LastClaim
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more