pub struct SignerWithStake {
pub party_id: String,
pub verification_key: Vec<u8>,
pub verification_key_signature: Option<Vec<u8>>,
pub operational_certificate: Option<Vec<u8>>,
pub kes_period: Option<i64>,
pub stake: i64,
}Expand description
SignerWithStake : Signer represents a signing party in the network (including its stakes)
Fields§
§party_id: StringThe unique identifier of the signer
verification_key: Vec<u8>The public key used to authenticate signer signature
verification_key_signature: Option<Vec<u8>>The signature of the verification_key (signed by the Cardano node KES secret key)
operational_certificate: Option<Vec<u8>>The operational certificate of the stake pool operator attached to the signer node
kes_period: Option<i64>The number of updates of the KES secret key that signed the verification key
stake: i64Stake share as computed in the ‘stake distribution’ by the Cardano Node, multiplied by a billion (1.0e9)
Implementations§
Trait Implementations§
Source§impl Clone for SignerWithStake
impl Clone for SignerWithStake
Source§fn clone(&self) -> SignerWithStake
fn clone(&self) -> SignerWithStake
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 SignerWithStake
impl Debug for SignerWithStake
Source§impl Default for SignerWithStake
impl Default for SignerWithStake
Source§fn default() -> SignerWithStake
fn default() -> SignerWithStake
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SignerWithStake
impl<'de> Deserialize<'de> for SignerWithStake
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 SignerWithStake
impl PartialEq for SignerWithStake
Source§impl Serialize for SignerWithStake
impl Serialize for SignerWithStake
impl StructuralPartialEq for SignerWithStake
Auto Trait Implementations§
impl Freeze for SignerWithStake
impl RefUnwindSafe for SignerWithStake
impl Send for SignerWithStake
impl Sync for SignerWithStake
impl Unpin for SignerWithStake
impl UnwindSafe for SignerWithStake
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