pub struct StakeDistributionParty {
pub party_id: Option<String>,
pub stake: Option<i64>,
}Expand description
StakeDistributionParty : Signer registered to a signature round.
Fields§
§party_id: Option<String>The unique identifier of the signer
stake: Option<i64>Stake share as computed in the ‘stake distribution’ by the Cardano Node, multiplied by a billion (1.0e9)
Implementations§
Source§impl StakeDistributionParty
impl StakeDistributionParty
Sourcepub fn new() -> StakeDistributionParty
pub fn new() -> StakeDistributionParty
Signer registered to a signature round.
Trait Implementations§
Source§impl Clone for StakeDistributionParty
impl Clone for StakeDistributionParty
Source§fn clone(&self) -> StakeDistributionParty
fn clone(&self) -> StakeDistributionParty
Returns a duplicate 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 StakeDistributionParty
impl Debug for StakeDistributionParty
Source§impl Default for StakeDistributionParty
impl Default for StakeDistributionParty
Source§fn default() -> StakeDistributionParty
fn default() -> StakeDistributionParty
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StakeDistributionParty
impl<'de> Deserialize<'de> for StakeDistributionParty
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 for StakeDistributionParty
impl PartialEq for StakeDistributionParty
Source§impl Serialize for StakeDistributionParty
impl Serialize for StakeDistributionParty
impl StructuralPartialEq for StakeDistributionParty
Auto Trait Implementations§
impl Freeze for StakeDistributionParty
impl RefUnwindSafe for StakeDistributionParty
impl Send for StakeDistributionParty
impl Sync for StakeDistributionParty
impl Unpin for StakeDistributionParty
impl UnwindSafe for StakeDistributionParty
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