pub struct StakePool {
pub id: StakePoolId,
pub vrf: VrfVerificationKey,
pub pledge: AdaValue,
pub cost: AdaValue,
pub margin: Ratio,
pub reward_account: RewardAccount,
pub owners: Vec<DigestBlake2b224>,
pub relays: Vec<Relay>,
pub metadata: Option<PoolMetadata>,
}Expand description
Stake pool registration parameters.
Fields§
§id: StakePoolIdPool ID.
vrf: VrfVerificationKeyVRF key hash.
pledge: AdaValuePledge amount.
cost: AdaValuePool cost.
margin: RatioPool margin (fee ratio).
reward_account: RewardAccountReward account.
owners: Vec<DigestBlake2b224>Pool owners.
relays: Vec<Relay>Pool relays.
metadata: Option<PoolMetadata>Pool metadata.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for StakePool
impl<'de> Deserialize<'de> for StakePool
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
impl StructuralPartialEq for StakePool
Auto Trait Implementations§
impl Freeze for StakePool
impl RefUnwindSafe for StakePool
impl Send for StakePool
impl Sync for StakePool
impl Unpin for StakePool
impl UnsafeUnpin for StakePool
impl UnwindSafe for StakePool
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