#[non_exhaustive]pub struct FeeRate {
pub level: String,
pub fee_group: Vec<FeeGroup>,
pub delivery: NumberString,
pub exercise: NumberString,
pub inst_type: InstType,
pub ts: NumberString,
pub taker: NumberString,
pub maker: NumberString,
pub taker_usdc: NumberString,
pub maker_usdc: NumberString,
pub rule_type: String,
pub settle: NumberString,
}Expand description
Trade fee-rate information.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.level: StringFee-rate level.
fee_group: Vec<FeeGroup>Fee groups for this instrument type.
delivery: NumberStringDelivery fee rate.
exercise: NumberStringFee rate for exercising the option.
inst_type: InstTypeInstrument type.
ts: NumberStringTimestamp (Unix milliseconds).
taker: NumberStringTaker fee rate.
maker: NumberStringMaker fee rate.
taker_usdc: NumberStringTaker fee rate for USDC-margined contracts.
maker_usdc: NumberStringMaker fee rate for USDC-margined contracts.
rule_type: StringTrading rule type.
settle: NumberStringSettlement fee rate for event contracts.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for FeeRate
impl<'de> Deserialize<'de> for FeeRate
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
Auto Trait Implementations§
impl Freeze for FeeRate
impl RefUnwindSafe for FeeRate
impl Send for FeeRate
impl Sync for FeeRate
impl Unpin for FeeRate
impl UnsafeUnpin for FeeRate
impl UnwindSafe for FeeRate
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