pub struct GetSwapQuoteResponse {
pub id: String,
pub wallet_id: String,
pub target_wallet_id: Option<String>,
pub provider: String,
pub source_asset: Value,
pub target_asset: Value,
pub slippage_bps: i64,
pub fee: Option<String>,
pub date_created: String,
pub request_body: Value,
pub requester: Requester,
}Expand description
Get Swap Quote
Fields§
§id: String§wallet_id: String§target_wallet_id: Option<String>§provider: String§source_asset: Value§target_asset: Value§slippage_bps: i64§fee: Option<String>§date_created: String§request_body: Value§requester: RequesterTrait Implementations§
Source§impl Clone for GetSwapQuoteResponse
impl Clone for GetSwapQuoteResponse
Source§fn clone(&self) -> GetSwapQuoteResponse
fn clone(&self) -> GetSwapQuoteResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 GetSwapQuoteResponse
impl Debug for GetSwapQuoteResponse
Source§impl<'de> Deserialize<'de> for GetSwapQuoteResponse
impl<'de> Deserialize<'de> for GetSwapQuoteResponse
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 GetSwapQuoteResponse
impl RefUnwindSafe for GetSwapQuoteResponse
impl Send for GetSwapQuoteResponse
impl Sync for GetSwapQuoteResponse
impl Unpin for GetSwapQuoteResponse
impl UnsafeUnpin for GetSwapQuoteResponse
impl UnwindSafe for GetSwapQuoteResponse
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