pub struct PoolParams {
pub id: PoolId,
pub vrf: Hash<VRF_KEY>,
pub pledge: Lovelace,
pub cost: Lovelace,
pub margin: RationalNumber,
pub reward_account: RewardAccount,
pub owners: Set<Hash<KEY>>,
pub relays: Vec<Relay>,
pub metadata: Nullable<PoolMetadata>,
}Fields§
§id: PoolId§vrf: Hash<VRF_KEY>§pledge: Lovelace§cost: Lovelace§margin: RationalNumber§reward_account: RewardAccount§owners: Set<Hash<KEY>>§relays: Vec<Relay>§metadata: Nullable<PoolMetadata>Trait Implementations§
Source§impl Clone for PoolParams
impl Clone for PoolParams
Source§fn clone(&self) -> PoolParams
fn clone(&self) -> PoolParams
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 PoolParams
impl Debug for PoolParams
Source§impl<'b, C> Decode<'b, C> for PoolParams
impl<'b, C> Decode<'b, C> for PoolParams
Source§impl<C> Encode<C> for PoolParams
impl<C> Encode<C> for PoolParams
Source§impl PartialEq for PoolParams
impl PartialEq for PoolParams
Source§impl Serialize for PoolParams
impl Serialize for PoolParams
impl Eq for PoolParams
impl StructuralPartialEq for PoolParams
Auto Trait Implementations§
impl Freeze for PoolParams
impl RefUnwindSafe for PoolParams
impl Send for PoolParams
impl Sync for PoolParams
impl Unpin for PoolParams
impl UnsafeUnpin for PoolParams
impl UnwindSafe for PoolParams
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more