pub struct SideMapping {
pub field: String,
pub mapping: HashMap<String, String>,
}Expand description
Maps venue-specific side indicators to canonical buy/sell.
Fields§
§field: StringJSON field that contains the side indicator.
mapping: HashMap<String, String>Map from venue-specific values to "buy" or "sell".
Trait Implementations§
Source§impl Clone for SideMapping
impl Clone for SideMapping
Source§impl Debug for SideMapping
impl Debug for SideMapping
Source§impl<'de> Deserialize<'de> for SideMapping
impl<'de> Deserialize<'de> for SideMapping
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 Forget for SideMapping
impl Freeze for SideMapping
impl RefUnwindSafe for SideMapping
impl Send for SideMapping
impl Sync for SideMapping
impl Unpin for SideMapping
impl UnsafeUnpin for SideMapping
impl UnwindSafe for SideMapping
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