pub struct ConnectedAccountTradingPair {
pub id: String,
pub base_asset_id: String,
pub quote_asset_id: String,
pub supported_types: Vec<ConnectedAccountTradingPairSupportedType>,
}Fields§
§id: StringThe ID of the trading pair.
base_asset_id: StringThe Symbol of the base asset.
quote_asset_id: StringThe symbol of the quote asset.
supported_types: Vec<ConnectedAccountTradingPairSupportedType>Implementations§
Source§impl ConnectedAccountTradingPair
impl ConnectedAccountTradingPair
pub fn new( id: String, base_asset_id: String, quote_asset_id: String, supported_types: Vec<ConnectedAccountTradingPairSupportedType>, ) -> ConnectedAccountTradingPair
Trait Implementations§
Source§impl Clone for ConnectedAccountTradingPair
impl Clone for ConnectedAccountTradingPair
Source§fn clone(&self) -> ConnectedAccountTradingPair
fn clone(&self) -> ConnectedAccountTradingPair
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 ConnectedAccountTradingPair
impl Debug for ConnectedAccountTradingPair
Source§impl Default for ConnectedAccountTradingPair
impl Default for ConnectedAccountTradingPair
Source§fn default() -> ConnectedAccountTradingPair
fn default() -> ConnectedAccountTradingPair
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ConnectedAccountTradingPair
impl<'de> Deserialize<'de> for ConnectedAccountTradingPair
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 StructuralPartialEq for ConnectedAccountTradingPair
Auto Trait Implementations§
impl Freeze for ConnectedAccountTradingPair
impl RefUnwindSafe for ConnectedAccountTradingPair
impl Send for ConnectedAccountTradingPair
impl Sync for ConnectedAccountTradingPair
impl Unpin for ConnectedAccountTradingPair
impl UnwindSafe for ConnectedAccountTradingPair
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