Struct chainhook_sdk::indexer::AssetClassCache
source · pub struct AssetClassCache {
pub symbol: String,
pub decimals: u8,
}Fields§
§symbol: String§decimals: u8Trait Implementations§
source§impl Clone for AssetClassCache
impl Clone for AssetClassCache
source§fn clone(&self) -> AssetClassCache
fn clone(&self) -> AssetClassCache
Returns a copy 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 Debug for AssetClassCache
impl Debug for AssetClassCache
source§impl Default for AssetClassCache
impl Default for AssetClassCache
source§fn default() -> AssetClassCache
fn default() -> AssetClassCache
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for AssetClassCache
impl<'de> Deserialize<'de> for AssetClassCache
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 RefUnwindSafe for AssetClassCache
impl Send for AssetClassCache
impl Sync for AssetClassCache
impl Unpin for AssetClassCache
impl UnwindSafe for AssetClassCache
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<T> InitializableFromZeroed for Twhere
T: Default,
impl<T> InitializableFromZeroed for Twhere T: Default,
§unsafe fn initialize(place: *mut T)
unsafe fn initialize(place: *mut T)
Called to initialize a place to a valid value, after it is set
to all-bits-zero. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> IntoCollection<T> for T
impl<T> IntoCollection<T> for T
§fn into_collection<A>(self) -> SmallVec<A>where
A: Array<Item = T>,
fn into_collection<A>(self) -> SmallVec<A>where A: Array<Item = T>,
Converts
self into a collection.