pub struct QpPhysicalLeg {
pub settles_as: String,
pub deliver_token: u32,
pub deliver_token_symbol: String,
pub basis: String,
}Expand description
How a physically settled call leg settles: priced, margined and expired
on settles_as (with the same settlement price as its cash calls), and
delivering deliver_token on HyperCore at expiry.
Fields§
§settles_as: StringThe cash underlying the series is priced, margined and expired on,
e.g. "BTC" for a UBTC series.
deliver_token: u32HyperCore spot token index delivered at expiry, one token unit per contract. A writer escrows it at the fill.
deliver_token_symbol: StringThe ticker of deliver_token, e.g. "UBTC".
basis: StringBasis add-on on a net long position, as a decimal fraction of
spot x contracts charged on initial and maintenance margin.
Trait Implementations§
Source§impl Clone for QpPhysicalLeg
impl Clone for QpPhysicalLeg
Source§impl Debug for QpPhysicalLeg
impl Debug for QpPhysicalLeg
Source§impl<'de> Deserialize<'de> for QpPhysicalLeg
impl<'de> Deserialize<'de> for QpPhysicalLeg
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
impl Eq for QpPhysicalLeg
Source§impl PartialEq for QpPhysicalLeg
impl PartialEq for QpPhysicalLeg
Source§impl Serialize for QpPhysicalLeg
impl Serialize for QpPhysicalLeg
impl StructuralPartialEq for QpPhysicalLeg
Auto Trait Implementations§
impl Forget for QpPhysicalLeg
impl Freeze for QpPhysicalLeg
impl Move for QpPhysicalLeg
impl RefUnwindSafe for QpPhysicalLeg
impl Send for QpPhysicalLeg
impl Sync for QpPhysicalLeg
impl Unpin for QpPhysicalLeg
impl UnsafeUnpin for QpPhysicalLeg
impl UnwindSafe for QpPhysicalLeg
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