pub struct CliStakeState {
Show 16 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>>,
}

Fields

stake_type: CliStakeTypeaccount_balance: u64credits_observed: Option<u64>delegated_stake: Option<u64>delegated_vote_account_address: Option<String>activation_epoch: Option<Epoch>deactivation_epoch: Option<Epoch>authorized: Option<CliAuthorized>lockup: Option<CliLockup>use_lamports_unit: boolcurrent_epoch: Epochrent_exempt_reserve: Option<u64>active_stake: Option<u64>activating_stake: Option<u64>deactivating_stake: Option<u64>epoch_rewards: Option<Vec<CliEpochReward>>

Trait Implementations

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

Formats the value using the given formatter. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

Should always be Self

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more