pub struct OwnedBlockHeaderConsensusParameters {
pub fixed_parameters: BlockHeaderFixedConsensusParameters,
pub super_segment_root: Option<SuperSegmentRoot>,
pub next_solution_range: Option<SolutionRange>,
pub pot_parameters_change: Option<BlockHeaderPotParametersChange>,
}Expand description
Owned version of BlockHeaderConsensusParameters
Fields§
§fixed_parameters: BlockHeaderFixedConsensusParametersConsensus parameters that are always present
super_segment_root: Option<SuperSegmentRoot>Super segment root
next_solution_range: Option<SolutionRange>Solution range for the next block/interval (if any)
pot_parameters_change: Option<BlockHeaderPotParametersChange>Change of parameters to apply to the proof of time chain (if any)
Trait Implementations§
impl Copy for OwnedBlockHeaderConsensusParameters
impl Eq for OwnedBlockHeaderConsensusParameters
Source§impl From<&BlockHeaderConsensusParameters<'_>> for OwnedBlockHeaderConsensusParameters
impl From<&BlockHeaderConsensusParameters<'_>> for OwnedBlockHeaderConsensusParameters
Source§fn from(value: &BlockHeaderConsensusParameters<'_>) -> Self
fn from(value: &BlockHeaderConsensusParameters<'_>) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for OwnedBlockHeaderConsensusParameters
Auto Trait Implementations§
impl Forget for OwnedBlockHeaderConsensusParameters
impl Freeze for OwnedBlockHeaderConsensusParameters
impl Move for OwnedBlockHeaderConsensusParameters
impl RefUnwindSafe for OwnedBlockHeaderConsensusParameters
impl Send for OwnedBlockHeaderConsensusParameters
impl Sync for OwnedBlockHeaderConsensusParameters
impl Unpin for OwnedBlockHeaderConsensusParameters
impl UnsafeUnpin for OwnedBlockHeaderConsensusParameterswhere
NonZeroU32Inner: UnsafeUnpin,
NonZeroU16Inner: UnsafeUnpin,
impl UnwindSafe for OwnedBlockHeaderConsensusParameters
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more