pub struct TransferFee {
pub fee_bps: u16,
pub max_fee: u64,
}
Fields§
§fee_bps: u16
§max_fee: u64
Implementations§
Source§impl TransferFee
impl TransferFee
Trait Implementations§
Source§impl Clone for TransferFee
impl Clone for TransferFee
Source§fn clone(&self) -> TransferFee
fn clone(&self) -> TransferFee
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for TransferFee
impl Debug for TransferFee
Source§impl Default for TransferFee
impl Default for TransferFee
Source§fn default() -> TransferFee
fn default() -> TransferFee
Returns the “default value” for a type. Read more
Source§impl PartialEq for TransferFee
impl PartialEq for TransferFee
impl Copy for TransferFee
impl Eq for TransferFee
impl StructuralPartialEq for TransferFee
Auto Trait Implementations§
impl Freeze for TransferFee
impl RefUnwindSafe for TransferFee
impl Send for TransferFee
impl Sync for TransferFee
impl Unpin for TransferFee
impl UnwindSafe for TransferFee
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