pub struct NetworkGlobals {
pub operator_accept_threshold: Rational,
pub validator_accept_threshold: Rational,
pub major_block_schedule: String,
pub anchor_empty_blocks: bool,
pub fee_schedule: FeeSchedule,
pub limits: NetworkLimits,
}Fields§
§operator_accept_threshold: Rational§validator_accept_threshold: Rational§major_block_schedule: String§anchor_empty_blocks: bool§fee_schedule: FeeSchedule§limits: NetworkLimitsTrait Implementations§
Source§impl Clone for NetworkGlobals
impl Clone for NetworkGlobals
Source§fn clone(&self) -> NetworkGlobals
fn clone(&self) -> NetworkGlobals
Returns a duplicate 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 NetworkGlobals
impl Debug for NetworkGlobals
Source§impl<'de> Deserialize<'de> for NetworkGlobals
impl<'de> Deserialize<'de> for NetworkGlobals
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 for NetworkGlobals
impl PartialEq for NetworkGlobals
Source§impl Serialize for NetworkGlobals
impl Serialize for NetworkGlobals
impl StructuralPartialEq for NetworkGlobals
Auto Trait Implementations§
impl Freeze for NetworkGlobals
impl RefUnwindSafe for NetworkGlobals
impl Send for NetworkGlobals
impl Sync for NetworkGlobals
impl Unpin for NetworkGlobals
impl UnsafeUnpin for NetworkGlobals
impl UnwindSafe for NetworkGlobals
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