Struct solana_sdk::sysvar::fees::Fees
source · 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<Fees, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<Fees, <__D as Deserializer<'de>>::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 Serialize for Fees
impl Serialize for Fees
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where __S: Serializer,
Serialize this value into the given Serde serializer. Read more
source§impl Sysvar for Fees
impl Sysvar for Fees
fn get() -> Result<Fees, 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