pub struct SwapV1RoutePlanStep {
pub bps: Option<i64>,
pub percent: Option<i64>,
pub swap_info: SwapV1SwapInfo,
}Fields§
§bps: Option<i64>§percent: Option<i64>§swap_info: SwapV1SwapInfoTrait Implementations§
Source§impl Clone for SwapV1RoutePlanStep
impl Clone for SwapV1RoutePlanStep
Source§fn clone(&self) -> SwapV1RoutePlanStep
fn clone(&self) -> SwapV1RoutePlanStep
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 SwapV1RoutePlanStep
impl Debug for SwapV1RoutePlanStep
Source§impl<'de> Deserialize<'de> for SwapV1RoutePlanStep
impl<'de> Deserialize<'de> for SwapV1RoutePlanStep
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 SwapV1RoutePlanStep
impl RefUnwindSafe for SwapV1RoutePlanStep
impl Send for SwapV1RoutePlanStep
impl Sync for SwapV1RoutePlanStep
impl Unpin for SwapV1RoutePlanStep
impl UnsafeUnpin for SwapV1RoutePlanStep
impl UnwindSafe for SwapV1RoutePlanStep
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