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