pub struct SwapOperationRequest {
pub provider_quote_id: Uuid,
pub fee_level: Option<FeeLevel>,
pub tx_note: Option<String>,
}
Fields§
§provider_quote_id: Uuid
An identifier that uniquely identifies the received quote
fee_level: Option<FeeLevel>
The fee level of the transaction
tx_note: Option<String>
user note on the transaction
Implementations§
Source§impl SwapOperationRequest
impl SwapOperationRequest
pub fn new(provider_quote_id: Uuid) -> SwapOperationRequest
Trait Implementations§
Source§impl Clone for SwapOperationRequest
impl Clone for SwapOperationRequest
Source§fn clone(&self) -> SwapOperationRequest
fn clone(&self) -> SwapOperationRequest
Returns a duplicate of the value. Read more
1.0.0 · 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 SwapOperationRequest
impl Debug for SwapOperationRequest
Source§impl Default for SwapOperationRequest
impl Default for SwapOperationRequest
Source§fn default() -> SwapOperationRequest
fn default() -> SwapOperationRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SwapOperationRequest
impl<'de> Deserialize<'de> for SwapOperationRequest
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 SwapOperationRequest
impl PartialEq for SwapOperationRequest
Source§impl Serialize for SwapOperationRequest
impl Serialize for SwapOperationRequest
impl StructuralPartialEq for SwapOperationRequest
Auto Trait Implementations§
impl Freeze for SwapOperationRequest
impl RefUnwindSafe for SwapOperationRequest
impl Send for SwapOperationRequest
impl Sync for SwapOperationRequest
impl Unpin for SwapOperationRequest
impl UnwindSafe for SwapOperationRequest
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