pub struct TransferEstimate { /* private fields */ }Implementations§
Source§impl TransferEstimate
impl TransferEstimate
pub fn estimated_at<T>(self, value: T) -> Self
pub fn exchange_rate<T>(self, value: T) -> Self
pub fn fees<T>(self, value: T) -> Self
pub fn target_amount<T>(self, value: T) -> Self
pub fn target_asset<T>(self, value: T) -> Self
Trait Implementations§
Source§impl Clone for TransferEstimate
impl Clone for TransferEstimate
Source§impl Debug for TransferEstimate
impl Debug for TransferEstimate
Source§impl Default for TransferEstimate
impl Default for TransferEstimate
Source§impl From<TransferEstimate> for TransferEstimate
impl From<TransferEstimate> for TransferEstimate
Source§fn from(value: TransferEstimate) -> Self
fn from(value: TransferEstimate) -> Self
Converts to this type from the input type.
Source§impl TryFrom<TransferEstimate> for TransferEstimate
impl TryFrom<TransferEstimate> for TransferEstimate
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: TransferEstimate) -> Result<Self, ConversionError>
fn try_from(value: TransferEstimate) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for TransferEstimate
impl RefUnwindSafe for TransferEstimate
impl Send for TransferEstimate
impl Sync for TransferEstimate
impl Unpin for TransferEstimate
impl UnsafeUnpin for TransferEstimate
impl UnwindSafe for TransferEstimate
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