pub struct SwapQuote {
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,
}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<'de> Deserialize<'de> for SwapQuote
impl<'de> Deserialize<'de> for SwapQuote
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 SwapQuote
impl RefUnwindSafe for SwapQuote
impl Send for SwapQuote
impl Sync for SwapQuote
impl Unpin for SwapQuote
impl UnsafeUnpin for SwapQuote
impl UnwindSafe for SwapQuote
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