pub struct MintFee {
pub bps: u16,
pub maximum_fee: u64,
}Expand description
A Token-2022 transfer fee for one epoch. Use the fee of the landing epoch. A stale fee gives a wrong price.
Fields§
§bps: u160 to 10_000.
maximum_fee: u64Trait Implementations§
impl Copy for MintFee
impl Eq for MintFee
impl StructuralPartialEq for MintFee
Auto Trait Implementations§
impl Freeze for MintFee
impl RefUnwindSafe for MintFee
impl Send for MintFee
impl Sync for MintFee
impl Unpin for MintFee
impl UnsafeUnpin for MintFee
impl UnwindSafe for MintFee
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