pub struct Pool {Show 19 fields
pub pool_id: String,
pub hex: String,
pub vrf_key: String,
pub blocks_minted: i32,
pub blocks_epoch: i32,
pub live_stake: String,
pub live_size: f64,
pub live_saturation: f64,
pub live_delegators: f64,
pub active_stake: String,
pub active_size: f64,
pub declared_pledge: String,
pub live_pledge: String,
pub margin_cost: f64,
pub fixed_cost: String,
pub reward_account: String,
pub owners: Vec<String>,
pub registration: Vec<String>,
pub retirement: Vec<String>,
}Fields§
§pool_id: StringBech32 pool ID
hex: StringHexadecimal pool ID.
vrf_key: StringVRF key hash
blocks_minted: i32Total minted blocks
blocks_epoch: i32Number of blocks minted in the current epoch
live_stake: String§live_size: f64§live_saturation: f64§live_delegators: f64§active_stake: String§active_size: f64§declared_pledge: StringStake pool certificate pledge
live_pledge: StringStake pool current pledge
margin_cost: f64Margin tax cost of the stake pool
fixed_cost: StringFixed tax cost of the stake pool
reward_account: StringBech32 reward account of the stake pool
owners: Vec<String>§registration: Vec<String>§retirement: Vec<String>Implementations§
Source§impl Pool
impl Pool
pub fn new( pool_id: String, hex: String, vrf_key: String, blocks_minted: i32, blocks_epoch: i32, live_stake: String, live_size: f64, live_saturation: f64, live_delegators: f64, active_stake: String, active_size: f64, declared_pledge: String, live_pledge: String, margin_cost: f64, fixed_cost: String, reward_account: String, owners: Vec<String>, registration: Vec<String>, retirement: Vec<String>, ) -> Pool
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Pool
impl<'de> Deserialize<'de> for Pool
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 Pool
Auto Trait Implementations§
impl Freeze for Pool
impl RefUnwindSafe for Pool
impl Send for Pool
impl Sync for Pool
impl Unpin for Pool
impl UnwindSafe for Pool
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