pub struct LeverageBracket {
pub brackets: Vec<Bracket>,
pub notional_coef: Option<f64>,
pub symbol: String,
}Expand description
LeverageBracket
JSON schema
{
"type": "object",
"required": [
"brackets",
"symbol"
],
"properties": {
"brackets": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Bracket"
}
},
"notionalCoef": {
"type": [
"number",
"null"
],
"format": "double"
},
"symbol": {
"type": "string"
}
}
}Fields§
§brackets: Vec<Bracket>§notional_coef: Option<f64>§symbol: StringTrait Implementations§
Source§impl Clone for LeverageBracket
impl Clone for LeverageBracket
Source§fn clone(&self) -> LeverageBracket
fn clone(&self) -> LeverageBracket
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 LeverageBracket
impl Debug for LeverageBracket
Source§impl<'de> Deserialize<'de> for LeverageBracket
impl<'de> Deserialize<'de> for LeverageBracket
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 LeverageBracket
impl RefUnwindSafe for LeverageBracket
impl Send for LeverageBracket
impl Sync for LeverageBracket
impl Unpin for LeverageBracket
impl UnsafeUnpin for LeverageBracket
impl UnwindSafe for LeverageBracket
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