pub struct SolvedMiningCandidate { /* private fields */ }Implementations§
Source§impl SolvedMiningCandidate
impl SolvedMiningCandidate
pub const fn job_id(&self) -> MiningJobId
pub const fn snapshot_generation(&self) -> MiningGeneration
pub const fn parent_height(&self) -> Height
pub const fn block(&self) -> &Block
pub fn into_block(self) -> Block
Trait Implementations§
Source§impl Clone for SolvedMiningCandidate
impl Clone for SolvedMiningCandidate
Source§fn clone(&self) -> SolvedMiningCandidate
fn clone(&self) -> SolvedMiningCandidate
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SolvedMiningCandidate
impl Debug for SolvedMiningCandidate
impl Eq for SolvedMiningCandidate
Source§impl PartialEq for SolvedMiningCandidate
impl PartialEq for SolvedMiningCandidate
impl StructuralPartialEq for SolvedMiningCandidate
Auto Trait Implementations§
impl Freeze for SolvedMiningCandidate
impl RefUnwindSafe for SolvedMiningCandidate
impl Send for SolvedMiningCandidate
impl Sync for SolvedMiningCandidate
impl Unpin for SolvedMiningCandidate
impl UnsafeUnpin for SolvedMiningCandidate
impl UnwindSafe for SolvedMiningCandidate
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