pub struct GetMyFeeTierResponse {
pub current_tier_level: Option<i32>,
pub fee_schedule: Option<Vec<FeeTierScheduleRow>>,
pub next_tier_level: Option<i32>,
pub perp_volume14d: Option<String>,
pub spot_volume14d: Option<String>,
pub volume_to_next_tier: Option<String>,
pub weighted_volume14d: Option<String>,
}Expand description
GetMyFeeTierResponse
JSON schema
{
"type": "object",
"properties": {
"currentTierLevel": {
"description": "Caller's resolved tier (1–6) from stored weighted 14-day volume",
"examples": [
2
],
"type": [
"integer",
"null"
],
"format": "int32"
},
"feeSchedule": {
"description": "Six-row fee schedule for the requested pair, ascending by tier",
"type": [
"array",
"null"
],
"items": {
"$ref": "#/components/schemas/FeeTierScheduleRow"
}
},
"nextTierLevel": {
"description": "Next tier level when not already at 6",
"examples": [
3
],
"type": [
"integer",
"null"
],
"format": "int32"
},
"perpVolume14d": {
"description": "Caller's rolling 14-day perp volume",
"examples": [
"5000000"
],
"type": [
"string",
"null"
]
},
"spotVolume14d": {
"description": "Caller's rolling 14-day spot volume",
"examples": [
"1000000"
],
"type": [
"string",
"null"
]
},
"volumeToNextTier": {
"description": "Additional weighted volume needed to reach the next tier; omitted at tier 6",
"examples": [
"17500000"
],
"type": [
"string",
"null"
]
},
"weightedVolume14d": {
"description": "Caller's weighted 14-day volume (perp + 2.5× spot)",
"examples": [
"7500000"
],
"type": [
"string",
"null"
]
}
}
}Fields§
§current_tier_level: Option<i32>Caller’s resolved tier (1–6) from stored weighted 14-day volume
fee_schedule: Option<Vec<FeeTierScheduleRow>>Six-row fee schedule for the requested pair, ascending by tier
next_tier_level: Option<i32>Next tier level when not already at 6
perp_volume14d: Option<String>Caller’s rolling 14-day perp volume
spot_volume14d: Option<String>Caller’s rolling 14-day spot volume
volume_to_next_tier: Option<String>Additional weighted volume needed to reach the next tier; omitted at tier 6
weighted_volume14d: Option<String>Caller’s weighted 14-day volume (perp + 2.5× spot)
Trait Implementations§
Source§impl Clone for GetMyFeeTierResponse
impl Clone for GetMyFeeTierResponse
Source§fn clone(&self) -> GetMyFeeTierResponse
fn clone(&self) -> GetMyFeeTierResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 GetMyFeeTierResponse
impl Debug for GetMyFeeTierResponse
Source§impl Default for GetMyFeeTierResponse
impl Default for GetMyFeeTierResponse
Source§impl<'de> Deserialize<'de> for GetMyFeeTierResponse
impl<'de> Deserialize<'de> for GetMyFeeTierResponse
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 GetMyFeeTierResponse
impl RefUnwindSafe for GetMyFeeTierResponse
impl Send for GetMyFeeTierResponse
impl Sync for GetMyFeeTierResponse
impl Unpin for GetMyFeeTierResponse
impl UnsafeUnpin for GetMyFeeTierResponse
impl UnwindSafe for GetMyFeeTierResponse
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