Struct RawAccountMarket
pub struct RawAccountMarket(/* private fields */);Expand description
Backend raw Account.market value cached in CachedTrdAcc.trd_market.
Implementations§
§impl RawAccountMarket
impl RawAccountMarket
pub const fn new(value: i32) -> RawAccountMarket
pub const fn raw_i32(self) -> i32
pub const fn as_i32(self) -> i32
pub fn view_only_fund_label(self) -> Option<&'static str>
Trait Implementations§
§impl Clone for RawAccountMarket
impl Clone for RawAccountMarket
§fn clone(&self) -> RawAccountMarket
fn clone(&self) -> RawAccountMarket
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 moreimpl Copy for RawAccountMarket
§impl Debug for RawAccountMarket
impl Debug for RawAccountMarket
impl Eq for RawAccountMarket
§impl Hash for RawAccountMarket
impl Hash for RawAccountMarket
§impl PartialEq for RawAccountMarket
impl PartialEq for RawAccountMarket
§fn eq(&self, other: &RawAccountMarket) -> bool
fn eq(&self, other: &RawAccountMarket) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RawAccountMarket
Auto Trait Implementations§
impl Freeze for RawAccountMarket
impl RefUnwindSafe for RawAccountMarket
impl Send for RawAccountMarket
impl Sync for RawAccountMarket
impl Unpin for RawAccountMarket
impl UnsafeUnpin for RawAccountMarket
impl UnwindSafe for RawAccountMarket
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more