pub struct CoinbaseData<T: AsRef<[u8]> = Vec<u8>> {
pub blue_score: u64,
pub subsidy: u64,
pub miner_data: MinerData<T>,
}Fields§
§blue_score: u64§subsidy: u64§miner_data: MinerData<T>Trait Implementations§
impl<T: Eq + AsRef<[u8]>> Eq for CoinbaseData<T>
impl<T: AsRef<[u8]>> StructuralPartialEq for CoinbaseData<T>
Auto Trait Implementations§
impl<T> Freeze for CoinbaseData<T>where
T: Freeze,
impl<T> RefUnwindSafe for CoinbaseData<T>where
T: RefUnwindSafe,
impl<T> Send for CoinbaseData<T>where
T: Send,
impl<T> Sync for CoinbaseData<T>where
T: Sync,
impl<T> Unpin for CoinbaseData<T>where
T: Unpin,
impl<T> UnwindSafe for CoinbaseData<T>where
T: UnwindSafe,
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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