pub struct AmmPosition {
pub token_id: String,
pub balance: String,
pub outcome_index: u8,
pub collateral_out_on_sell: String,
}Fields§
§token_id: String§balance: String§outcome_index: u8§collateral_out_on_sell: StringTrait Implementations§
Source§impl Clone for AmmPosition
impl Clone for AmmPosition
Source§fn clone(&self) -> AmmPosition
fn clone(&self) -> AmmPosition
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 AmmPosition
impl Debug for AmmPosition
Source§impl<'de> Deserialize<'de> for AmmPosition
impl<'de> Deserialize<'de> for AmmPosition
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 AmmPosition
impl RefUnwindSafe for AmmPosition
impl Send for AmmPosition
impl Sync for AmmPosition
impl Unpin for AmmPosition
impl UnsafeUnpin for AmmPosition
impl UnwindSafe for AmmPosition
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