Struct jormungandr_lib::interfaces::LinearFeeDef
source · pub struct LinearFeeDef {
constant: u64,
coefficient: u64,
certificate: u64,
per_certificate_fees: PerCertificateFee,
per_vote_certificate_fees: PerVoteCertificateFee,
}
Fields§
§constant: u64
§coefficient: u64
§certificate: u64
§per_certificate_fees: PerCertificateFee
§per_vote_certificate_fees: PerVoteCertificateFee
Implementations§
source§impl LinearFeeDef
impl LinearFeeDef
source§impl<'de> LinearFeeDef
impl<'de> LinearFeeDef
pub fn deserialize<__D>(__deserializer: __D) -> Result<LinearFee, __D::Error>where __D: Deserializer<'de>,
Trait Implementations§
source§impl Clone for LinearFeeDef
impl Clone for LinearFeeDef
source§fn clone(&self) -> LinearFeeDef
fn clone(&self) -> LinearFeeDef
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 LinearFeeDef
impl Debug for LinearFeeDef
source§impl PartialEq<LinearFeeDef> for LinearFeeDef
impl PartialEq<LinearFeeDef> for LinearFeeDef
source§fn eq(&self, other: &LinearFeeDef) -> bool
fn eq(&self, other: &LinearFeeDef) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for LinearFeeDef
impl StructuralEq for LinearFeeDef
impl StructuralPartialEq for LinearFeeDef
Auto Trait Implementations§
impl RefUnwindSafe for LinearFeeDef
impl Send for LinearFeeDef
impl Sync for LinearFeeDef
impl Unpin for LinearFeeDef
impl UnwindSafe for LinearFeeDef
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