Struct CachedAccountMarket
pub struct CachedAccountMarket(/* private fields */);Expand description
Market namespace read from CachedTrdAcc.trd_market.
The production cache stores backend raw Account.market, but this boundary
deliberately stays fail-closed for legacy/test fixtures that may contain
canonical OpenAPI fund market values from earlier projections.
Implementations§
§impl CachedAccountMarket
impl CachedAccountMarket
pub const fn new(value: i32) -> CachedAccountMarket
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 CachedAccountMarket
impl Clone for CachedAccountMarket
§fn clone(&self) -> CachedAccountMarket
fn clone(&self) -> CachedAccountMarket
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 CachedAccountMarket
§impl Debug for CachedAccountMarket
impl Debug for CachedAccountMarket
impl Eq for CachedAccountMarket
§impl Hash for CachedAccountMarket
impl Hash for CachedAccountMarket
§impl PartialEq for CachedAccountMarket
impl PartialEq for CachedAccountMarket
§fn eq(&self, other: &CachedAccountMarket) -> bool
fn eq(&self, other: &CachedAccountMarket) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CachedAccountMarket
Auto Trait Implementations§
impl Freeze for CachedAccountMarket
impl RefUnwindSafe for CachedAccountMarket
impl Send for CachedAccountMarket
impl Sync for CachedAccountMarket
impl Unpin for CachedAccountMarket
impl UnsafeUnpin for CachedAccountMarket
impl UnwindSafe for CachedAccountMarket
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