pub struct InstrumentCostsMsg {
pub commission: Option<CommissionModelMsg>,
pub swap: Option<SwapScheduleMsg>,
}Expand description
Wire-safe commission and swap specification for one instrument.
Fields§
§commission: Option<CommissionModelMsg>§swap: Option<SwapScheduleMsg>Trait Implementations§
Source§impl Clone for InstrumentCostsMsg
impl Clone for InstrumentCostsMsg
Source§impl Debug for InstrumentCostsMsg
impl Debug for InstrumentCostsMsg
Source§impl Default for InstrumentCostsMsg
impl Default for InstrumentCostsMsg
Source§impl<'de> Deserialize<'de> for InstrumentCostsMsg
impl<'de> Deserialize<'de> for InstrumentCostsMsg
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 InstrumentCostsMsg
impl RefUnwindSafe for InstrumentCostsMsg
impl Send for InstrumentCostsMsg
impl Sync for InstrumentCostsMsg
impl Unpin for InstrumentCostsMsg
impl UnsafeUnpin for InstrumentCostsMsg
impl UnwindSafe for InstrumentCostsMsg
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