Struct solana_program::sysvar::fees::Fees
source · #[repr(C)]pub struct Fees {
pub fee_calculator: FeeCalculator,
}
👎Deprecated since 1.9.0: Please do not use, will no longer be available in the future
Fields§
§fee_calculator: FeeCalculator
👎Deprecated since 1.9.0: Please do not use, will no longer be available in the future
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Fees
impl<'de> Deserialize<'de> for Fees
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<Fees> for Fees
impl PartialEq<Fees> for Fees
source§impl Sysvar for Fees
impl Sysvar for Fees
fn get() -> Result<Self, ProgramError>
fn size_of() -> usize
source§fn from_account_info(
account_info: &AccountInfo<'_>
) -> Result<Self, ProgramError>
fn from_account_info( account_info: &AccountInfo<'_> ) -> Result<Self, ProgramError>
Deserializes a sysvar from its
AccountInfo
. Read more