pub struct InstrumentAssets {
pub base: Option<AssetId>,
pub quote: Option<AssetId>,
pub settlement: AssetId,
pub fee_assets: BTreeSet<AssetId>,
}Expand description
Assets participating in an instrument’s economic contract.
Fields§
§base: Option<AssetId>§quote: Option<AssetId>§settlement: AssetId§fee_assets: BTreeSet<AssetId>Trait Implementations§
Source§impl Clone for InstrumentAssets
impl Clone for InstrumentAssets
Source§fn clone(&self) -> InstrumentAssets
fn clone(&self) -> InstrumentAssets
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 InstrumentAssets
impl Debug for InstrumentAssets
Source§impl<'de> Deserialize<'de> for InstrumentAssets
impl<'de> Deserialize<'de> for InstrumentAssets
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 InstrumentAssets
Source§impl PartialEq for InstrumentAssets
impl PartialEq for InstrumentAssets
Source§impl Serialize for InstrumentAssets
impl Serialize for InstrumentAssets
impl StructuralPartialEq for InstrumentAssets
Auto Trait Implementations§
impl Freeze for InstrumentAssets
impl RefUnwindSafe for InstrumentAssets
impl Send for InstrumentAssets
impl Sync for InstrumentAssets
impl Unpin for InstrumentAssets
impl UnsafeUnpin for InstrumentAssets
impl UnwindSafe for InstrumentAssets
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