pub struct TrustedBlockState<'a> {
pub chain_id: &'a Id,
pub header_time: Time,
pub height: Height,
pub next_validators: &'a ValidatorSet,
pub next_validators_hash: Hash,
}Expand description
Trusted block parameters needed for light client verification.
Fields§
§chain_id: &'a Id§header_time: Time§height: Height§next_validators: &'a ValidatorSet§next_validators_hash: HashAuto Trait Implementations§
impl<'a> Freeze for TrustedBlockState<'a>
impl<'a> RefUnwindSafe for TrustedBlockState<'a>
impl<'a> Send for TrustedBlockState<'a>
impl<'a> Sync for TrustedBlockState<'a>
impl<'a> Unpin for TrustedBlockState<'a>
impl<'a> UnwindSafe for TrustedBlockState<'a>
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