pub struct PlatformFee {
pub receiver: String,
pub qty: String,
pub bps: u16,
pub mint: String,
}
Fields§
§receiver: String
§qty: String
Platform fee quantity specified as a scaled integer. Note that this is
already factored into the receiveQty
.
bps: u16
§mint: String
Base58-encoded SPL mint of the token in which the platform fee will be paid
Trait Implementations§
Source§impl Clone for PlatformFee
impl Clone for PlatformFee
Source§fn clone(&self) -> PlatformFee
fn clone(&self) -> PlatformFee
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 PlatformFee
impl Debug for PlatformFee
Source§impl<'de> Deserialize<'de> for PlatformFee
impl<'de> Deserialize<'de> for PlatformFee
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 Hash for PlatformFee
impl Hash for PlatformFee
Source§impl PartialEq for PlatformFee
impl PartialEq for PlatformFee
Source§impl Serialize for PlatformFee
impl Serialize for PlatformFee
impl Eq for PlatformFee
impl StructuralPartialEq for PlatformFee
Auto Trait Implementations§
impl Freeze for PlatformFee
impl RefUnwindSafe for PlatformFee
impl Send for PlatformFee
impl Sync for PlatformFee
impl Unpin for PlatformFee
impl UnwindSafe for PlatformFee
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