pub enum BswapRemoveLiquidityPreviewResponse {
Combination(BswapRmvLiquidityPreviewCombination),
Single(BswapRmvLiquidityPreviewSingle),
}
Expand description
BswapRemoveLiquidityPreviewResponse
JSON schema
{
"oneOf": [
{
"$ref": "#/components/schemas/bswapRmvLiquidityPreviewCombination"
},
{
"$ref": "#/components/schemas/bswapRmvLiquidityPreviewSingle"
}
]
}
Variants§
Combination(BswapRmvLiquidityPreviewCombination)
Single(BswapRmvLiquidityPreviewSingle)
Trait Implementations§
Source§impl Clone for BswapRemoveLiquidityPreviewResponse
impl Clone for BswapRemoveLiquidityPreviewResponse
Source§fn clone(&self) -> BswapRemoveLiquidityPreviewResponse
fn clone(&self) -> BswapRemoveLiquidityPreviewResponse
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<'de> Deserialize<'de> for BswapRemoveLiquidityPreviewResponse
impl<'de> Deserialize<'de> for BswapRemoveLiquidityPreviewResponse
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 From<&BswapRemoveLiquidityPreviewResponse> for BswapRemoveLiquidityPreviewResponse
impl From<&BswapRemoveLiquidityPreviewResponse> for BswapRemoveLiquidityPreviewResponse
Source§fn from(value: &BswapRemoveLiquidityPreviewResponse) -> Self
fn from(value: &BswapRemoveLiquidityPreviewResponse) -> Self
Converts to this type from the input type.
Source§impl From<BswapRmvLiquidityPreviewCombination> for BswapRemoveLiquidityPreviewResponse
impl From<BswapRmvLiquidityPreviewCombination> for BswapRemoveLiquidityPreviewResponse
Source§fn from(value: BswapRmvLiquidityPreviewCombination) -> Self
fn from(value: BswapRmvLiquidityPreviewCombination) -> Self
Converts to this type from the input type.
Source§impl From<BswapRmvLiquidityPreviewSingle> for BswapRemoveLiquidityPreviewResponse
impl From<BswapRmvLiquidityPreviewSingle> for BswapRemoveLiquidityPreviewResponse
Source§fn from(value: BswapRmvLiquidityPreviewSingle) -> Self
fn from(value: BswapRmvLiquidityPreviewSingle) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for BswapRemoveLiquidityPreviewResponse
impl RefUnwindSafe for BswapRemoveLiquidityPreviewResponse
impl Send for BswapRemoveLiquidityPreviewResponse
impl Sync for BswapRemoveLiquidityPreviewResponse
impl Unpin for BswapRemoveLiquidityPreviewResponse
impl UnwindSafe for BswapRemoveLiquidityPreviewResponse
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