pub struct PoolUpdate {Show 17 fields
pub tx_hash: String,
pub block_time: u64,
pub pool_id_bech32: String,
pub pool_id_hex: String,
pub active_epoch_no: Option<u64>,
pub vrf_key_hash: Option<String>,
pub margin: Option<f64>,
pub fixed_cost: Option<String>,
pub pledge: Option<String>,
pub reward_addr: Option<String>,
pub owners: Option<Vec<String>>,
pub relays: Vec<PoolRelay>,
pub meta_url: Option<String>,
pub meta_hash: Option<String>,
pub meta_json: Option<PoolMetadata>,
pub update_type: UpdateType,
pub retiring_epoch: Option<u64>,
}Fields§
§tx_hash: String§block_time: u64§pool_id_bech32: String§pool_id_hex: String§active_epoch_no: Option<u64>§vrf_key_hash: Option<String>§margin: Option<f64>§fixed_cost: Option<String>§pledge: Option<String>§reward_addr: Option<String>§owners: Option<Vec<String>>§relays: Vec<PoolRelay>§meta_url: Option<String>§meta_hash: Option<String>§meta_json: Option<PoolMetadata>§update_type: UpdateType§retiring_epoch: Option<u64>Implementations§
Source§impl PoolUpdate
impl PoolUpdate
Trait Implementations§
Source§impl Clone for PoolUpdate
impl Clone for PoolUpdate
Source§fn clone(&self) -> PoolUpdate
fn clone(&self) -> PoolUpdate
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 PoolUpdate
impl Debug for PoolUpdate
Source§impl<'de> Deserialize<'de> for PoolUpdate
impl<'de> Deserialize<'de> for PoolUpdate
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
Auto Trait Implementations§
impl Freeze for PoolUpdate
impl RefUnwindSafe for PoolUpdate
impl Send for PoolUpdate
impl Sync for PoolUpdate
impl Unpin for PoolUpdate
impl UnwindSafe for PoolUpdate
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