Struct jormungandr_lib::interfaces::ratio::Ratio
source · pub struct Ratio(Ratio);
Expand description
Ratio in the blockchain.
for example, used to represent the ratio of a setting in the stake pool registration certificate.
Tuple Fields§
§0: Ratio
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Ratio
impl<'de> Deserialize<'de> for Ratio
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 PartialEq<Ratio> for Ratio
impl PartialEq<Ratio> for Ratio
impl Copy for Ratio
impl Eq for Ratio
Auto Trait Implementations§
impl RefUnwindSafe for Ratio
impl Send for Ratio
impl Sync for Ratio
impl Unpin for Ratio
impl UnwindSafe for Ratio
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