Enum solana_account_decoder::parse_sysvar::SysvarAccountType [−][src]
pub enum SysvarAccountType {
Clock(UiClock),
EpochSchedule(EpochSchedule),
Fees(UiFees),
RecentBlockhashes(Vec<UiRecentBlockhashesEntry>),
Rent(UiRent),
Rewards(UiRewards),
SlotHashes(Vec<UiSlotHashEntry>),
SlotHistory(UiSlotHistory),
StakeHistory(Vec<UiStakeHistoryEntry>),
}Variants
Tuple Fields of Clock
0: UiClockTuple Fields of Fees
0: UiFeesTuple Fields of RecentBlockhashes
Tuple Fields of Rent
0: UiRentTuple Fields of Rewards
0: UiRewardsTuple Fields of SlotHashes
0: Vec<UiSlotHashEntry>Tuple Fields of SlotHistory
Tuple Fields of StakeHistory
Trait Implementations
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
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for SysvarAccountType
impl Send for SysvarAccountType
impl Sync for SysvarAccountType
impl Unpin for SysvarAccountType
impl UnwindSafe for SysvarAccountType
Blanket Implementations
pub default fn visit_for_abi(
&self,
_digester: &mut AbiDigester
) -> Result<AbiDigester, DigestError>
pub default fn visit_for_abi(
&self,
digester: &mut AbiDigester
) -> Result<AbiDigester, DigestError>
pub default fn example() -> T
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
type Output = T
type Output = T
Should always be Self