pub struct ActiveMarketsResponse {
pub data: Vec<MarketSummary>,
pub total_markets_count: i32,
}Expand description
Response from GET /markets/active.
Fields§
§data: Vec<MarketSummary>§total_markets_count: i32Trait Implementations§
Source§impl Clone for ActiveMarketsResponse
impl Clone for ActiveMarketsResponse
Source§fn clone(&self) -> ActiveMarketsResponse
fn clone(&self) -> ActiveMarketsResponse
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 ActiveMarketsResponse
impl Debug for ActiveMarketsResponse
Source§impl<'de> Deserialize<'de> for ActiveMarketsResponse
impl<'de> Deserialize<'de> for ActiveMarketsResponse
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 ActiveMarketsResponse
impl RefUnwindSafe for ActiveMarketsResponse
impl Send for ActiveMarketsResponse
impl Sync for ActiveMarketsResponse
impl Unpin for ActiveMarketsResponse
impl UnsafeUnpin for ActiveMarketsResponse
impl UnwindSafe for ActiveMarketsResponse
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