pub struct AccountContent {
pub stake_address: String,
pub active: bool,
pub active_epoch: Option<i32>,
pub controlled_amount: String,
pub rewards_sum: String,
pub withdrawals_sum: String,
pub reserves_sum: String,
pub treasury_sum: String,
pub withdrawable_amount: String,
pub pool_id: Option<String>,
pub drep_id: Option<String>,
}Fields§
§stake_address: StringBech32 stake address
active: boolRegistration state of an account
active_epoch: Option<i32>Epoch of the most recent action - registration or deregistration
controlled_amount: StringBalance of the account in Lovelaces
rewards_sum: StringSum of all rewards for the account in the Lovelaces
withdrawals_sum: StringSum of all the withdrawals for the account in Lovelaces
reserves_sum: StringSum of all funds from reserves for the account in the Lovelaces
treasury_sum: StringSum of all funds from treasury for the account in the Lovelaces
withdrawable_amount: StringSum of available rewards that haven’t been withdrawn yet for the account in the Lovelaces
pool_id: Option<String>Bech32 pool ID to which this account is delegated
drep_id: Option<String>Bech32 drep ID to which this account is delegated
Implementations§
Trait Implementations§
Source§impl Clone for AccountContent
impl Clone for AccountContent
Source§fn clone(&self) -> AccountContent
fn clone(&self) -> AccountContent
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 AccountContent
impl Debug for AccountContent
Source§impl Default for AccountContent
impl Default for AccountContent
Source§fn default() -> AccountContent
fn default() -> AccountContent
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AccountContent
impl<'de> Deserialize<'de> for AccountContent
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 AccountContent
impl PartialEq for AccountContent
Source§impl Serialize for AccountContent
impl Serialize for AccountContent
impl StructuralPartialEq for AccountContent
Auto Trait Implementations§
impl Freeze for AccountContent
impl RefUnwindSafe for AccountContent
impl Send for AccountContent
impl Sync for AccountContent
impl Unpin for AccountContent
impl UnwindSafe for AccountContent
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