pub struct ProvidersListResponse {
pub data: Vec<TradingProvider>,
pub total: i32,
pub next: Option<String>,
}Fields§
§data: Vec<TradingProvider>List of available providers
total: i32Total number of providers matching the query.
next: Option<String>A cursor for the next page of results, if available.
Implementations§
Source§impl ProvidersListResponse
impl ProvidersListResponse
pub fn new(data: Vec<TradingProvider>, total: i32) -> ProvidersListResponse
Trait Implementations§
Source§impl Clone for ProvidersListResponse
impl Clone for ProvidersListResponse
Source§fn clone(&self) -> ProvidersListResponse
fn clone(&self) -> ProvidersListResponse
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 ProvidersListResponse
impl Debug for ProvidersListResponse
Source§impl Default for ProvidersListResponse
impl Default for ProvidersListResponse
Source§fn default() -> ProvidersListResponse
fn default() -> ProvidersListResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProvidersListResponse
impl<'de> Deserialize<'de> for ProvidersListResponse
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
Source§impl PartialEq for ProvidersListResponse
impl PartialEq for ProvidersListResponse
Source§impl Serialize for ProvidersListResponse
impl Serialize for ProvidersListResponse
impl StructuralPartialEq for ProvidersListResponse
Auto Trait Implementations§
impl Freeze for ProvidersListResponse
impl RefUnwindSafe for ProvidersListResponse
impl Send for ProvidersListResponse
impl Sync for ProvidersListResponse
impl Unpin for ProvidersListResponse
impl UnwindSafe for ProvidersListResponse
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