pub struct StakeDistributionDto {
pub epoch: u32,
pub stake: StakeDistribution,
}
Fields§
§epoch: u32
§stake: StakeDistribution
Trait Implementations§
source§impl Clone for StakeDistributionDto
impl Clone for StakeDistributionDto
source§fn clone(&self) -> StakeDistributionDto
fn clone(&self) -> StakeDistributionDto
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 StakeDistributionDto
impl Debug for StakeDistributionDto
source§impl<'de> Deserialize<'de> for StakeDistributionDto
impl<'de> Deserialize<'de> for StakeDistributionDto
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<StakeDistributionDto> for StakeDistributionDto
impl PartialEq<StakeDistributionDto> for StakeDistributionDto
source§fn eq(&self, other: &StakeDistributionDto) -> bool
fn eq(&self, other: &StakeDistributionDto) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for StakeDistributionDto
impl Serialize for StakeDistributionDto
impl Eq for StakeDistributionDto
impl StructuralEq for StakeDistributionDto
impl StructuralPartialEq for StakeDistributionDto
Auto Trait Implementations§
impl RefUnwindSafe for StakeDistributionDto
impl Send for StakeDistributionDto
impl Sync for StakeDistributionDto
impl Unpin for StakeDistributionDto
impl UnwindSafe for StakeDistributionDto
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