Struct waves_rust::model::rs::BlockchainRewards
source · pub struct BlockchainRewards { /* private fields */ }
Implementations§
source§impl BlockchainRewards
impl BlockchainRewards
pub fn new(
height: u32,
current_reward: u64,
total_waves_amount: u64,
min_increment: u64,
term: u32,
next_check: u32,
voting_interval_start: u32,
voting_interval: u32,
voting_threshold: u32,
votes: Votes
) -> Self
pub fn height(&self) -> u32
pub fn current_reward(&self) -> u64
pub fn total_waves_amount(&self) -> u64
pub fn min_increment(&self) -> u64
pub fn term(&self) -> u32
pub fn next_check(&self) -> u32
pub fn voting_interval_start(&self) -> u32
pub fn voting_interval(&self) -> u32
pub fn voting_threshold(&self) -> u32
pub fn votes(&self) -> Votes
Trait Implementations§
source§impl Clone for BlockchainRewards
impl Clone for BlockchainRewards
source§fn clone(&self) -> BlockchainRewards
fn clone(&self) -> BlockchainRewards
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 BlockchainRewards
impl Debug for BlockchainRewards
source§impl PartialEq<BlockchainRewards> for BlockchainRewards
impl PartialEq<BlockchainRewards> for BlockchainRewards
source§fn eq(&self, other: &BlockchainRewards) -> bool
fn eq(&self, other: &BlockchainRewards) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<&Value> for BlockchainRewards
impl TryFrom<&Value> for BlockchainRewards
impl Eq for BlockchainRewards
impl StructuralEq for BlockchainRewards
impl StructuralPartialEq for BlockchainRewards
Auto Trait Implementations§
impl RefUnwindSafe for BlockchainRewards
impl Send for BlockchainRewards
impl Sync for BlockchainRewards
impl Unpin for BlockchainRewards
impl UnwindSafe for BlockchainRewards
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request