pub struct WalChainLink {
pub seq: u64,
pub prev: u64,
pub value: u64,
}Expand description
一行记录的完整性链节(读侧独立重算结果)。
Fields§
§seq: u64物理行号(1-based),与 WalLine::seq 验证口径一致。
prev: u64本行记录的前行链值(首行为创世值 0)。
value: u64本行链值(链尾即最后一条的 value;空日志无链节、链尾为 0)。
Trait Implementations§
Source§impl Clone for WalChainLink
impl Clone for WalChainLink
Source§fn clone(&self) -> WalChainLink
fn clone(&self) -> WalChainLink
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 moreimpl Copy for WalChainLink
Source§impl Debug for WalChainLink
impl Debug for WalChainLink
impl Eq for WalChainLink
Source§impl PartialEq for WalChainLink
impl PartialEq for WalChainLink
impl StructuralPartialEq for WalChainLink
Auto Trait Implementations§
impl Freeze for WalChainLink
impl RefUnwindSafe for WalChainLink
impl Send for WalChainLink
impl Sync for WalChainLink
impl Unpin for WalChainLink
impl UnsafeUnpin for WalChainLink
impl UnwindSafe for WalChainLink
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