Struct diem_json_rpc_types::views::CurrencyInfoView
source · 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§
source§impl Clone for CurrencyInfoView
impl Clone for CurrencyInfoView
source§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 moresource§impl Debug for CurrencyInfoView
impl Debug for CurrencyInfoView
source§impl<'de> Deserialize<'de> for CurrencyInfoView
impl<'de> Deserialize<'de> for CurrencyInfoView
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
source§impl From<&CurrencyInfoResource> for CurrencyInfoView
impl From<&CurrencyInfoResource> for CurrencyInfoView
source§fn from(info: &CurrencyInfoResource) -> CurrencyInfoView
fn from(info: &CurrencyInfoResource) -> CurrencyInfoView
Converts to this type from the input type.
source§impl PartialEq<CurrencyInfoView> for CurrencyInfoView
impl PartialEq<CurrencyInfoView> for CurrencyInfoView
source§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 ==
.source§impl Serialize for CurrencyInfoView
impl Serialize for CurrencyInfoView
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§
§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.