pub struct KeysetMarketsResponse {
pub markets: Vec<Market>,
pub next_cursor: Option<String>,
}Expand description
Keyset-paginated markets response from GET /markets/keyset.
next_cursor is None on the last page. Like KeysetEventsResponse, the
upstream JSON key is next_cursor (snake_case), not nextCursor.
Fields§
§markets: Vec<Market>§next_cursor: Option<String>Trait Implementations§
Source§impl Clone for KeysetMarketsResponse
impl Clone for KeysetMarketsResponse
Source§fn clone(&self) -> KeysetMarketsResponse
fn clone(&self) -> KeysetMarketsResponse
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 KeysetMarketsResponse
impl Debug for KeysetMarketsResponse
Source§impl<'de> Deserialize<'de> for KeysetMarketsResponse
impl<'de> Deserialize<'de> for KeysetMarketsResponse
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 KeysetMarketsResponse
impl RefUnwindSafe for KeysetMarketsResponse
impl Send for KeysetMarketsResponse
impl Sync for KeysetMarketsResponse
impl Unpin for KeysetMarketsResponse
impl UnsafeUnpin for KeysetMarketsResponse
impl UnwindSafe for KeysetMarketsResponse
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