Enum jormungandr_lib::interfaces::settings::LimitDef
source · pub enum LimitDef {
None,
ByStakeAbsolute(Ratio),
}
Variants§
Implementations§
source§impl<'de> LimitDef
impl<'de> LimitDef
pub fn deserialize<__D>(__deserializer: __D) -> Result<Limit, __D::Error>where __D: Deserializer<'de>,
Trait Implementations§
source§impl PartialEq<LimitDef> for LimitDef
impl PartialEq<LimitDef> for LimitDef
impl Copy for LimitDef
impl Eq for LimitDef
impl StructuralEq for LimitDef
impl StructuralPartialEq for LimitDef
Auto Trait Implementations§
impl RefUnwindSafe for LimitDef
impl Send for LimitDef
impl Sync for LimitDef
impl Unpin for LimitDef
impl UnwindSafe for LimitDef
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