Struct jormungandr_lib::interfaces::settings::RatioDef
source · pub struct RatioDef {
pub numerator: u64,
pub denominator: NonZeroU64,
}
Fields§
§numerator: u64
§denominator: NonZeroU64
Implementations§
source§impl<'de> RatioDef
impl<'de> RatioDef
pub fn deserialize<__D>(__deserializer: __D) -> Result<Ratio, __D::Error>where __D: Deserializer<'de>,
Trait Implementations§
source§impl PartialEq<RatioDef> for RatioDef
impl PartialEq<RatioDef> for RatioDef
impl Copy for RatioDef
impl Eq for RatioDef
impl StructuralEq for RatioDef
impl StructuralPartialEq for RatioDef
Auto Trait Implementations§
impl RefUnwindSafe for RatioDef
impl Send for RatioDef
impl Sync for RatioDef
impl Unpin for RatioDef
impl UnwindSafe for RatioDef
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