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