Struct datamaxi::models::PoolsResponse
source · pub struct PoolsResponse {
pub chain: String,
pub exchange: String,
pub base: String,
pub quote: String,
pub baset_address: String,
pub quote_address: String,
pub pool_address: String,
pub id: Option<String>,
}Expand description
Response containing details about pools.
Fields§
§chain: StringThe blockchain where the pool is located.
exchange: StringThe name of the exchange where the pool is available.
base: StringThe base asset used in the pool.
quote: StringThe quote asset used in the pool.
baset_address: StringThe address of the base token in the pool.
quote_address: StringThe address of the quote token in the pool.
pool_address: StringThe unique address of the pool.
id: Option<String>An optional unique identifier for the pool.
Trait Implementations§
source§impl Debug for PoolsResponse
impl Debug for PoolsResponse
source§impl<'de> Deserialize<'de> for PoolsResponse
impl<'de> Deserialize<'de> for PoolsResponse
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 PoolsResponse
impl RefUnwindSafe for PoolsResponse
impl Send for PoolsResponse
impl Sync for PoolsResponse
impl Unpin for PoolsResponse
impl UnwindSafe for PoolsResponse
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