Struct miraland_cli_output::CliStakeState
source · pub struct CliStakeState {Show 17 fields
pub stake_type: CliStakeType,
pub account_balance: u64,
pub credits_observed: Option<u64>,
pub delegated_stake: Option<u64>,
pub delegated_vote_account_address: Option<String>,
pub activation_epoch: Option<Epoch>,
pub deactivation_epoch: Option<Epoch>,
pub authorized: Option<CliAuthorized>,
pub lockup: Option<CliLockup>,
pub use_lamports_unit: bool,
pub current_epoch: Epoch,
pub rent_exempt_reserve: Option<u64>,
pub active_stake: Option<u64>,
pub activating_stake: Option<u64>,
pub deactivating_stake: Option<u64>,
pub epoch_rewards: Option<Vec<CliEpochReward>>,
pub use_csv: bool,
}
Fields§
§stake_type: CliStakeType
§account_balance: u64
§credits_observed: Option<u64>
§delegated_stake: Option<u64>
§delegated_vote_account_address: Option<String>
§activation_epoch: Option<Epoch>
§deactivation_epoch: Option<Epoch>
§lockup: Option<CliLockup>
§use_lamports_unit: bool
§current_epoch: Epoch
§rent_exempt_reserve: Option<u64>
§active_stake: Option<u64>
§activating_stake: Option<u64>
§deactivating_stake: Option<u64>
§epoch_rewards: Option<Vec<CliEpochReward>>
§use_csv: bool
Trait Implementations§
source§impl Default for CliStakeState
impl Default for CliStakeState
source§fn default() -> CliStakeState
fn default() -> CliStakeState
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CliStakeState
impl<'de> Deserialize<'de> for CliStakeState
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 Display for CliStakeState
impl Display for CliStakeState
source§impl QuietDisplay for CliStakeState
impl QuietDisplay for CliStakeState
source§impl Serialize for CliStakeState
impl Serialize for CliStakeState
source§impl VerboseDisplay for CliStakeState
impl VerboseDisplay for CliStakeState
Auto Trait Implementations§
impl RefUnwindSafe for CliStakeState
impl Send for CliStakeState
impl Sync for CliStakeState
impl Unpin for CliStakeState
impl UnwindSafe for CliStakeState
Blanket Implementations§
§impl<T> AbiEnumVisitor for T
impl<T> AbiEnumVisitor for T
default fn visit_for_abi( &self, digester: &mut AbiDigester ) -> Result<AbiDigester, DigestError>
§impl<T> AbiEnumVisitor for T
impl<T> AbiEnumVisitor for T
default fn visit_for_abi( &self, _digester: &mut AbiDigester ) -> Result<AbiDigester, DigestError>
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