pub struct PicoUsdPerMillion(/* private fields */);Implementations§
Source§impl PicoUsdPerMillion
impl PicoUsdPerMillion
pub const fn new(value: u128) -> PicoUsdPerMillion
pub const fn value(self) -> u128
pub fn from_decimal_str(value: &str) -> Option<PicoUsdPerMillion>
Trait Implementations§
Source§impl Clone for PicoUsdPerMillion
impl Clone for PicoUsdPerMillion
Source§fn clone(&self) -> PicoUsdPerMillion
fn clone(&self) -> PicoUsdPerMillion
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 PicoUsdPerMillion
Source§impl Debug for PicoUsdPerMillion
impl Debug for PicoUsdPerMillion
Source§impl<'de> Deserialize<'de> for PicoUsdPerMillion
impl<'de> Deserialize<'de> for PicoUsdPerMillion
Source§fn deserialize<D>(
deserializer: D,
) -> Result<PicoUsdPerMillion, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D,
) -> Result<PicoUsdPerMillion, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for PicoUsdPerMillion
Source§impl Ord for PicoUsdPerMillion
impl Ord for PicoUsdPerMillion
Source§fn cmp(&self, other: &PicoUsdPerMillion) -> Ordering
fn cmp(&self, other: &PicoUsdPerMillion) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for PicoUsdPerMillion
impl PartialEq for PicoUsdPerMillion
Source§fn eq(&self, other: &PicoUsdPerMillion) -> bool
fn eq(&self, other: &PicoUsdPerMillion) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for PicoUsdPerMillion
impl PartialOrd for PicoUsdPerMillion
Source§impl Serialize for PicoUsdPerMillion
impl Serialize for PicoUsdPerMillion
Source§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 PicoUsdPerMillion
Auto Trait Implementations§
impl Freeze for PicoUsdPerMillion
impl RefUnwindSafe for PicoUsdPerMillion
impl Send for PicoUsdPerMillion
impl Sync for PicoUsdPerMillion
impl Unpin for PicoUsdPerMillion
impl UnsafeUnpin for PicoUsdPerMillion
impl UnwindSafe for PicoUsdPerMillion
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§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.