pub struct BlockchainConfig {
pub last_block_hash: String,
pub last_block_id: BlockId,
pub last_timestamp: Timestamp,
pub genesis_block_id: BlockId,
pub genesis_timestamp: Timestamp,
pub lowest_acceptable_timestamp: Timestamp,
pub lowest_acceptable_block_hash: String,
pub lowest_acceptable_block_id: BlockId,
pub fork_id: String,
pub initial_loading_completed: bool,
pub issuance_writing_block_interval: BlockId,
}
Fields§
§last_block_hash: String
§last_block_id: BlockId
§last_timestamp: Timestamp
§genesis_block_id: BlockId
§genesis_timestamp: Timestamp
§lowest_acceptable_timestamp: Timestamp
§lowest_acceptable_block_hash: String
§lowest_acceptable_block_id: BlockId
§fork_id: String
§initial_loading_completed: bool
§issuance_writing_block_interval: BlockId
Trait Implementations§
Source§impl Clone for BlockchainConfig
impl Clone for BlockchainConfig
Source§fn clone(&self) -> BlockchainConfig
fn clone(&self) -> BlockchainConfig
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 BlockchainConfig
impl Debug for BlockchainConfig
Source§impl Default for BlockchainConfig
impl Default for BlockchainConfig
Source§fn default() -> BlockchainConfig
fn default() -> BlockchainConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BlockchainConfig
impl<'de> Deserialize<'de> for BlockchainConfig
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 BlockchainConfig
impl RefUnwindSafe for BlockchainConfig
impl Send for BlockchainConfig
impl Sync for BlockchainConfig
impl Unpin for BlockchainConfig
impl UnwindSafe for BlockchainConfig
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