pub struct FetchMarketsParams {
pub limit: Option<usize>,
pub cursor: Option<String>,
pub status: Option<MarketStatus>,
}Fields§
§limit: Option<usize>§cursor: Option<String>Exchange-specific cursor (offset, page number, or cursor string)
status: Option<MarketStatus>Filter by market status. Defaults to Active at the exchange level when None.
Trait Implementations§
Source§impl Clone for FetchMarketsParams
impl Clone for FetchMarketsParams
Source§fn clone(&self) -> FetchMarketsParams
fn clone(&self) -> FetchMarketsParams
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 FetchMarketsParams
impl Debug for FetchMarketsParams
Source§impl Default for FetchMarketsParams
impl Default for FetchMarketsParams
Source§fn default() -> FetchMarketsParams
fn default() -> FetchMarketsParams
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FetchMarketsParams
impl<'de> Deserialize<'de> for FetchMarketsParams
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 FetchMarketsParams
impl RefUnwindSafe for FetchMarketsParams
impl Send for FetchMarketsParams
impl Sync for FetchMarketsParams
impl Unpin for FetchMarketsParams
impl UnsafeUnpin for FetchMarketsParams
impl UnwindSafe for FetchMarketsParams
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