pub struct FeeConfigs {
pub referral_perps_fee: Option<String>,
pub subaffiliate_perps_earnings: Option<String>,
pub spot_lp_fee: Option<String>,
pub referral_spot_lp_fee: Option<String>,
pub referral_lending_rewards: Option<String>,
pub perps_fee_cashback: Option<String>,
pub perps_rev_share: Option<String>,
pub ember_refferal_share: Option<String>,
pub ember_rev_share: Option<String>,
}Expand description
FeeConfigs : Map of various fee-related configurations
Fields§
§referral_perps_fee: Option<String>Earnings from referral perps fees
subaffiliate_perps_earnings: Option<String>Earnings from subaffiliate perps
spot_lp_fee: Option<String>Earnings from spot LP fees
referral_spot_lp_fee: Option<String>Earnings from referral spot LP fees
referral_lending_rewards: Option<String>Earnings from referral lending rewards
perps_fee_cashback: Option<String>Cashback from perps fees
Revenue share percentage for perps
Ember refferal share for an affiliate
Ember revenue share for an affiliate
Implementations§
Source§impl FeeConfigs
impl FeeConfigs
Sourcepub fn new() -> FeeConfigs
pub fn new() -> FeeConfigs
Map of various fee-related configurations
Trait Implementations§
Source§impl Clone for FeeConfigs
impl Clone for FeeConfigs
Source§fn clone(&self) -> FeeConfigs
fn clone(&self) -> FeeConfigs
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 FeeConfigs
impl Debug for FeeConfigs
Source§impl Default for FeeConfigs
impl Default for FeeConfigs
Source§fn default() -> FeeConfigs
fn default() -> FeeConfigs
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FeeConfigs
impl<'de> Deserialize<'de> for FeeConfigs
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 PartialEq for FeeConfigs
impl PartialEq for FeeConfigs
Source§impl Serialize for FeeConfigs
impl Serialize for FeeConfigs
impl StructuralPartialEq for FeeConfigs
Auto Trait Implementations§
impl Freeze for FeeConfigs
impl RefUnwindSafe for FeeConfigs
impl Send for FeeConfigs
impl Sync for FeeConfigs
impl Unpin for FeeConfigs
impl UnsafeUnpin for FeeConfigs
impl UnwindSafe for FeeConfigs
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