pub struct SendQuoteRequestResponse {
pub quote_id: Option<String>,
pub ratio: Option<String>,
pub inverse_ratio: Option<String>,
pub valid_timestamp: Option<i64>,
pub to_amount: Option<String>,
pub from_amount: Option<String>,
}Fields§
§quote_id: Option<String>§ratio: Option<String>§inverse_ratio: Option<String>§valid_timestamp: Option<i64>§to_amount: Option<String>§from_amount: Option<String>Implementations§
Source§impl SendQuoteRequestResponse
impl SendQuoteRequestResponse
pub fn new() -> SendQuoteRequestResponse
Trait Implementations§
Source§impl Clone for SendQuoteRequestResponse
impl Clone for SendQuoteRequestResponse
Source§fn clone(&self) -> SendQuoteRequestResponse
fn clone(&self) -> SendQuoteRequestResponse
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 SendQuoteRequestResponse
impl Debug for SendQuoteRequestResponse
Source§impl Default for SendQuoteRequestResponse
impl Default for SendQuoteRequestResponse
Source§fn default() -> SendQuoteRequestResponse
fn default() -> SendQuoteRequestResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SendQuoteRequestResponse
impl<'de> Deserialize<'de> for SendQuoteRequestResponse
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 SendQuoteRequestResponse
impl PartialEq for SendQuoteRequestResponse
Source§fn eq(&self, other: &SendQuoteRequestResponse) -> bool
fn eq(&self, other: &SendQuoteRequestResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SendQuoteRequestResponse
impl Serialize for SendQuoteRequestResponse
impl StructuralPartialEq for SendQuoteRequestResponse
Auto Trait Implementations§
impl Freeze for SendQuoteRequestResponse
impl RefUnwindSafe for SendQuoteRequestResponse
impl Send for SendQuoteRequestResponse
impl Sync for SendQuoteRequestResponse
impl Unpin for SendQuoteRequestResponse
impl UnsafeUnpin for SendQuoteRequestResponse
impl UnwindSafe for SendQuoteRequestResponse
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