pub struct LiquidityPoolAsset { /* private fields */ }
Trait Implementations§
Source§impl Debug for LiquidityPoolAsset
impl Debug for LiquidityPoolAsset
Source§impl From<&LiquidityPoolAsset> for ChangeTrustAsset
impl From<&LiquidityPoolAsset> for ChangeTrustAsset
Source§fn from(value: &LiquidityPoolAsset) -> ChangeTrustAsset
fn from(value: &LiquidityPoolAsset) -> ChangeTrustAsset
Converts to this type from the input type.
Source§impl From<&LiquidityPoolAsset> for TrustLineAsset
impl From<&LiquidityPoolAsset> for TrustLineAsset
Source§fn from(value: &LiquidityPoolAsset) -> TrustLineAsset
fn from(value: &LiquidityPoolAsset) -> TrustLineAsset
Converts to this type from the input type.
Source§impl From<LiquidityPoolAsset> for ChangeTrustAsset
impl From<LiquidityPoolAsset> for ChangeTrustAsset
Source§fn from(value: LiquidityPoolAsset) -> ChangeTrustAsset
fn from(value: LiquidityPoolAsset) -> ChangeTrustAsset
Converts to this type from the input type.
Source§impl From<LiquidityPoolAsset> for TrustLineAsset
impl From<LiquidityPoolAsset> for TrustLineAsset
Source§fn from(value: LiquidityPoolAsset) -> TrustLineAsset
fn from(value: LiquidityPoolAsset) -> TrustLineAsset
Converts to this type from the input type.
Source§impl LiquidityPoolAssetBehavior for LiquidityPoolAsset
impl LiquidityPoolAssetBehavior for LiquidityPoolAsset
fn new( asset_a: Asset, asset_b: Asset, fee: i32, ) -> Result<LiquidityPoolAsset, &'static str>
fn from_operation( ct_asset_xdr: &ChangeTrustAsset, ) -> Result<LiquidityPoolAsset, String>
fn to_xdr_object(&self) -> ChangeTrustAsset
fn get_liquidity_pool_parameters(&self) -> LiquidityPoolParameters
fn equals(&self, other: &LiquidityPoolAsset) -> bool
fn get_asset_type(&self) -> &'static str
fn to_string(&self) -> String
Auto Trait Implementations§
impl Freeze for LiquidityPoolAsset
impl RefUnwindSafe for LiquidityPoolAsset
impl Send for LiquidityPoolAsset
impl Sync for LiquidityPoolAsset
impl Unpin for LiquidityPoolAsset
impl UnwindSafe for LiquidityPoolAsset
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