pub struct AssetPriceSource<C> {
    pub asset: AssetInfoPrecisioned,
    pub price_source: PriceSourceType<C>,
}Fields§
§asset: AssetInfoPrecisioned§price_source: PriceSourceType<C>Implementations§
Source§impl<C: PriceSource> AssetPriceSource<C>
 
impl<C: PriceSource> AssetPriceSource<C>
Trait Implementations§
Source§impl<C: Clone> Clone for AssetPriceSource<C>
 
impl<C: Clone> Clone for AssetPriceSource<C>
Source§fn clone(&self) -> AssetPriceSource<C>
 
fn clone(&self) -> AssetPriceSource<C>
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<C: Debug> Debug for AssetPriceSource<C>
 
impl<C: Debug> Debug for AssetPriceSource<C>
Source§impl<'de, C> Deserialize<'de> for AssetPriceSource<C>where
    C: Deserialize<'de>,
 
impl<'de, C> Deserialize<'de> for AssetPriceSource<C>where
    C: Deserialize<'de>,
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
Source§impl<C: JsonSchema> JsonSchema for AssetPriceSource<C>
 
impl<C: JsonSchema> JsonSchema for AssetPriceSource<C>
Source§fn schema_name() -> String
 
fn schema_name() -> String
The name of the generated JSON Schema. Read more
Source§fn schema_id() -> Cow<'static, str>
 
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
 
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn is_referenceable() -> bool
 
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the 
$ref keyword. Read moreSource§impl<C: PartialEq> PartialEq for AssetPriceSource<C>
 
impl<C: PartialEq> PartialEq for AssetPriceSource<C>
Source§impl<C> Serialize for AssetPriceSource<C>where
    C: Serialize,
 
impl<C> Serialize for AssetPriceSource<C>where
    C: Serialize,
impl<C> StructuralPartialEq for AssetPriceSource<C>
Auto Trait Implementations§
impl<C> Freeze for AssetPriceSource<C>where
    C: Freeze,
impl<C> RefUnwindSafe for AssetPriceSource<C>where
    C: RefUnwindSafe,
impl<C> Send for AssetPriceSource<C>where
    C: Send,
impl<C> Sync for AssetPriceSource<C>where
    C: Sync,
impl<C> Unpin for AssetPriceSource<C>where
    C: Unpin,
impl<C> UnwindSafe for AssetPriceSource<C>where
    C: UnwindSafe,
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