Struct diem_json_rpc_client::views::CurrencyInfoView
pub struct CurrencyInfoView {
pub code: String,
pub scaling_factor: u64,
pub fractional_part: u64,
pub to_xdx_exchange_rate: f32,
pub mint_events_key: EventKey,
pub burn_events_key: EventKey,
pub preburn_events_key: EventKey,
pub cancel_burn_events_key: EventKey,
pub exchange_rate_update_events_key: EventKey,
}
Fields§
§code: String
§scaling_factor: u64
§fractional_part: u64
§to_xdx_exchange_rate: f32
§mint_events_key: EventKey
§burn_events_key: EventKey
§preburn_events_key: EventKey
§cancel_burn_events_key: EventKey
§exchange_rate_update_events_key: EventKey
Trait Implementations§
§impl Clone for CurrencyInfoView
impl Clone for CurrencyInfoView
§fn clone(&self) -> CurrencyInfoView
fn clone(&self) -> CurrencyInfoView
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 more§impl Debug for CurrencyInfoView
impl Debug for CurrencyInfoView
§impl<'de> Deserialize<'de> for CurrencyInfoView
impl<'de> Deserialize<'de> for CurrencyInfoView
§fn deserialize<__D>(
__deserializer: __D
) -> Result<CurrencyInfoView, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<CurrencyInfoView, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl From<&CurrencyInfoResource> for CurrencyInfoView
impl From<&CurrencyInfoResource> for CurrencyInfoView
§fn from(info: &CurrencyInfoResource) -> CurrencyInfoView
fn from(info: &CurrencyInfoResource) -> CurrencyInfoView
Converts to this type from the input type.
§impl PartialEq<CurrencyInfoView> for CurrencyInfoView
impl PartialEq<CurrencyInfoView> for CurrencyInfoView
§fn eq(&self, other: &CurrencyInfoView) -> bool
fn eq(&self, other: &CurrencyInfoView) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.§impl Serialize for CurrencyInfoView
impl Serialize for CurrencyInfoView
§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where __S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for CurrencyInfoView
Auto Trait Implementations§
impl RefUnwindSafe for CurrencyInfoView
impl Send for CurrencyInfoView
impl Sync for CurrencyInfoView
impl Unpin for CurrencyInfoView
impl UnwindSafe for CurrencyInfoView
Blanket Implementations§
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> TestOnlyHash for Twhere
T: Serialize + ?Sized,
impl<T> TestOnlyHash for Twhere T: Serialize + ?Sized,
§fn test_only_hash(&self) -> HashValue
fn test_only_hash(&self) -> HashValue
Generates a hash used only for tests.