pub struct PageMarketsResponse {
pub data: Vec<MarketSummary>,
pub pagination: Option<OffsetPagination>,
pub cursor: Option<CursorPagination>,
}Expand description
Response from GET /market-pages/:id/markets.
Fields§
§data: Vec<MarketSummary>§pagination: Option<OffsetPagination>§cursor: Option<CursorPagination>Trait Implementations§
Source§impl Clone for PageMarketsResponse
impl Clone for PageMarketsResponse
Source§fn clone(&self) -> PageMarketsResponse
fn clone(&self) -> PageMarketsResponse
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 PageMarketsResponse
impl Debug for PageMarketsResponse
Source§impl<'de> Deserialize<'de> for PageMarketsResponse
impl<'de> Deserialize<'de> for PageMarketsResponse
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 PageMarketsResponse
impl RefUnwindSafe for PageMarketsResponse
impl Send for PageMarketsResponse
impl Sync for PageMarketsResponse
impl Unpin for PageMarketsResponse
impl UnsafeUnpin for PageMarketsResponse
impl UnwindSafe for PageMarketsResponse
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