pub struct SettlementSource {
pub name: Option<String>,
pub url: Option<String>,
}Expand description
Reference used by the exchange to settle a series.
Fields§
§name: Option<String>Display name of the source (e.g. "Bureau of Labor Statistics").
url: Option<String>Source URL (e.g. "https://www.bls.gov/cpi/").
Trait Implementations§
Source§impl Clone for SettlementSource
impl Clone for SettlementSource
Source§fn clone(&self) -> SettlementSource
fn clone(&self) -> SettlementSource
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 Debug for SettlementSource
impl Debug for SettlementSource
Source§impl<'de> Deserialize<'de> for SettlementSource
impl<'de> Deserialize<'de> for SettlementSource
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 SettlementSource
impl RefUnwindSafe for SettlementSource
impl Send for SettlementSource
impl Sync for SettlementSource
impl Unpin for SettlementSource
impl UnsafeUnpin for SettlementSource
impl UnwindSafe for SettlementSource
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