pub struct GetDeliveryPriceParams {
pub category: Category,
pub symbol: Option<String>,
pub base_coin: Option<String>,
pub limit: Option<u64>,
pub cursor: Option<String>,
}Expand description
Query params for Client::get_delivery_price.
Covers: linear / inverse / option
Fields§
§category: Category§symbol: Option<String>§base_coin: Option<String>§limit: Option<u64>Max 200. Default 50.
cursor: Option<String>Implementations§
Source§impl GetDeliveryPriceParams
impl GetDeliveryPriceParams
pub fn new(category: Category) -> Self
pub fn with_symbol(self, v: impl Into<String>) -> Self
pub fn with_base_coin(self, v: impl Into<String>) -> Self
pub fn with_limit(self, v: u64) -> Self
pub fn with_cursor(self, v: impl Into<String>) -> Self
Trait Implementations§
Source§impl Clone for GetDeliveryPriceParams
impl Clone for GetDeliveryPriceParams
Source§impl Debug for GetDeliveryPriceParams
impl Debug for GetDeliveryPriceParams
Auto Trait Implementations§
impl Freeze for GetDeliveryPriceParams
impl RefUnwindSafe for GetDeliveryPriceParams
impl Send for GetDeliveryPriceParams
impl Sync for GetDeliveryPriceParams
impl Unpin for GetDeliveryPriceParams
impl UnsafeUnpin for GetDeliveryPriceParams
impl UnwindSafe for GetDeliveryPriceParams
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