pub struct StateProofMessage {
pub block_headers_commitment: Vec<u8>,
pub voters_commitment: Vec<u8>,
pub ln_proven_weight: u64,
pub first_attested_round: u64,
pub last_attested_round: u64,
}
Fields§
§block_headers_commitment: Vec<u8>
§voters_commitment: Vec<u8>
§ln_proven_weight: u64
§first_attested_round: u64
§last_attested_round: u64
Trait Implementations§
Source§impl Clone for StateProofMessage
impl Clone for StateProofMessage
Source§fn clone(&self) -> StateProofMessage
fn clone(&self) -> StateProofMessage
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for StateProofMessage
impl Debug for StateProofMessage
Source§impl<'de> Deserialize<'de> for StateProofMessage
impl<'de> Deserialize<'de> for StateProofMessage
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for StateProofMessage
impl PartialEq for StateProofMessage
Source§impl Serialize for StateProofMessage
impl Serialize for StateProofMessage
impl StructuralPartialEq for StateProofMessage
Auto Trait Implementations§
impl Freeze for StateProofMessage
impl RefUnwindSafe for StateProofMessage
impl Send for StateProofMessage
impl Sync for StateProofMessage
impl Unpin for StateProofMessage
impl UnwindSafe for StateProofMessage
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