pub struct Checkpoint {
pub origin: String,
pub tree_size: u64,
pub root_hash: Hash,
pub note_text: String,
pub signatures: Vec<SignatureLine>,
}Expand description
A checkpoint parsed from its signed note (§5.1). Nothing in it is trusted yet.
Fields§
§origin: String§tree_size: u64§root_hash: Hash§note_text: StringThe note text: the three lines, each with its newline. The log signs these bytes.
signatures: Vec<SignatureLine>Trait Implementations§
Source§impl Clone for Checkpoint
impl Clone for Checkpoint
Source§impl Debug for Checkpoint
impl Debug for Checkpoint
impl Eq for Checkpoint
Source§impl PartialEq for Checkpoint
impl PartialEq for Checkpoint
impl StructuralPartialEq for Checkpoint
Auto Trait Implementations§
impl Forget for Checkpoint
impl Freeze for Checkpoint
impl Move for Checkpoint
impl RefUnwindSafe for Checkpoint
impl Send for Checkpointwhere
RawVecInner: Send,
impl Sync for Checkpointwhere
RawVecInner: Sync,
impl Unpin for Checkpoint
impl UnsafeUnpin for Checkpointwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<SignatureLine>: UnsafeUnpin,
impl UnwindSafe for Checkpointwhere
RawVecInner: UnwindSafe,
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