pub struct TxContentPoolCertsInner {
pub cert_index: i32,
pub pool_id: String,
pub vrf_key: String,
pub pledge: String,
pub margin_cost: f64,
pub fixed_cost: String,
pub reward_account: String,
pub owners: Vec<String>,
pub metadata: Option<Box<TxContentPoolCertsInnerMetadata>>,
pub relays: Vec<TxContentPoolCertsInnerRelaysInner>,
pub active_epoch: i32,
}Fields§
§cert_index: i32Index of the certificate within the transaction
pool_id: StringBech32 encoded pool ID
vrf_key: StringVRF key hash
pledge: StringStake pool certificate pledge in Lovelaces
margin_cost: f64Margin tax cost of the stake pool
fixed_cost: StringFixed tax cost of the stake pool in Lovelaces
reward_account: StringBech32 reward account of the stake pool
owners: Vec<String>§metadata: Option<Box<TxContentPoolCertsInnerMetadata>>§relays: Vec<TxContentPoolCertsInnerRelaysInner>§active_epoch: i32Epoch in which the update becomes active
Implementations§
Source§impl TxContentPoolCertsInner
impl TxContentPoolCertsInner
pub fn new( cert_index: i32, pool_id: String, vrf_key: String, pledge: String, margin_cost: f64, fixed_cost: String, reward_account: String, owners: Vec<String>, metadata: Option<TxContentPoolCertsInnerMetadata>, relays: Vec<TxContentPoolCertsInnerRelaysInner>, active_epoch: i32, ) -> TxContentPoolCertsInner
Trait Implementations§
Source§impl Clone for TxContentPoolCertsInner
impl Clone for TxContentPoolCertsInner
Source§fn clone(&self) -> TxContentPoolCertsInner
fn clone(&self) -> TxContentPoolCertsInner
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 TxContentPoolCertsInner
impl Debug for TxContentPoolCertsInner
Source§impl Default for TxContentPoolCertsInner
impl Default for TxContentPoolCertsInner
Source§fn default() -> TxContentPoolCertsInner
fn default() -> TxContentPoolCertsInner
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TxContentPoolCertsInner
impl<'de> Deserialize<'de> for TxContentPoolCertsInner
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 TxContentPoolCertsInner
impl PartialEq for TxContentPoolCertsInner
Source§impl Serialize for TxContentPoolCertsInner
impl Serialize for TxContentPoolCertsInner
impl StructuralPartialEq for TxContentPoolCertsInner
Auto Trait Implementations§
impl Freeze for TxContentPoolCertsInner
impl RefUnwindSafe for TxContentPoolCertsInner
impl Send for TxContentPoolCertsInner
impl Sync for TxContentPoolCertsInner
impl Unpin for TxContentPoolCertsInner
impl UnwindSafe for TxContentPoolCertsInner
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