#[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
Expand description
Transaction fees.
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 Sysvar for Fees
impl Sysvar for Fees
Sourceยงfn from_account_info(
account_info: &AccountInfo<'_>,
) -> Result<Self, ProgramError>
fn from_account_info( account_info: &AccountInfo<'_>, ) -> Result<Self, ProgramError>
Deserializes the sysvar from its
AccountInfo
. Read moreSourceยงfn to_account_info(&self, account_info: &mut AccountInfo<'_>) -> Option<()>
fn to_account_info(&self, account_info: &mut AccountInfo<'_>) -> Option<()>
Serializes the sysvar to
AccountInfo
. Read moreimpl Eq for Fees
impl StructuralPartialEq for Fees
Auto Trait Implementationsยง
impl Freeze for Fees
impl RefUnwindSafe for Fees
impl Send for Fees
impl Sync for Fees
impl Unpin for Fees
impl UnwindSafe for Fees
Blanket Implementationsยง
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