pub struct ChainParams {
pub block_time_secs: u64,
pub max_tx_per_block: u64,
pub max_tx_payload_bytes: u64,
pub min_fee: Balance,
}Fields§
§block_time_secs: u64§max_tx_per_block: u64§max_tx_payload_bytes: u64§min_fee: BalanceTrait Implementations§
Source§impl Clone for ChainParams
impl Clone for ChainParams
Source§fn clone(&self) -> ChainParams
fn clone(&self) -> ChainParams
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 ChainParams
impl Debug for ChainParams
Source§impl<'de> Deserialize<'de> for ChainParams
impl<'de> Deserialize<'de> for ChainParams
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
Auto Trait Implementations§
impl Freeze for ChainParams
impl RefUnwindSafe for ChainParams
impl Send for ChainParams
impl Sync for ChainParams
impl Unpin for ChainParams
impl UnsafeUnpin for ChainParams
impl UnwindSafe for ChainParams
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