Struct bamboo_rs_core::entry::Entry [−][src]
#[repr(C)]pub struct Entry<H, S> where
H: Borrow<[u8]>,
S: Borrow<[u8]>, { pub log_id: u64, pub is_end_of_feed: bool, pub payload_hash: YamfHash<H>, pub payload_size: u64, pub author: DalekPublicKey, pub seq_num: u64, pub backlink: Option<YamfHash<H>>, pub lipmaa_link: Option<YamfHash<H>>, pub sig: Option<Signature<S>>, }
Fields
log_id: u64
is_end_of_feed: bool
payload_hash: YamfHash<H>
payload_size: u64
seq_num: u64
backlink: Option<YamfHash<H>>
lipmaa_link: Option<YamfHash<H>>
sig: Option<Signature<S>>
Implementations
Encode the entry ready for signing.
Verify the signature of an entry is valid.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more