Struct jormungandr_lib::interfaces::settings::SettingsDto
source · pub struct SettingsDto {Show 13 fields
pub block0_hash: String,
pub block0_time: SystemTime,
pub curr_slot_start_time: Option<SystemTime>,
pub consensus_version: String,
pub fees: LinearFee,
pub block_content_max_size: u32,
pub epoch_stability_depth: u32,
pub slot_duration: u64,
pub slots_per_epoch: u32,
pub treasury_tax: TaxType,
pub reward_params: Parameters,
pub discrimination: Discrimination,
pub tx_max_expiry_epochs: u8,
}
Fields§
§block0_hash: String
§block0_time: SystemTime
§curr_slot_start_time: Option<SystemTime>
§consensus_version: String
§fees: LinearFee
§block_content_max_size: u32
§epoch_stability_depth: u32
§slot_duration: u64
§slots_per_epoch: u32
§treasury_tax: TaxType
§reward_params: Parameters
§discrimination: Discrimination
§tx_max_expiry_epochs: u8
Trait Implementations§
source§impl Clone for SettingsDto
impl Clone for SettingsDto
source§fn clone(&self) -> SettingsDto
fn clone(&self) -> SettingsDto
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 SettingsDto
impl Debug for SettingsDto
source§impl<'de> Deserialize<'de> for SettingsDto
impl<'de> Deserialize<'de> for SettingsDto
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<SettingsDto> for SettingsDto
impl PartialEq<SettingsDto> for SettingsDto
source§fn eq(&self, other: &SettingsDto) -> bool
fn eq(&self, other: &SettingsDto) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SettingsDto
impl Serialize for SettingsDto
impl Eq for SettingsDto
impl StructuralEq for SettingsDto
Auto Trait Implementations§
impl RefUnwindSafe for SettingsDto
impl Send for SettingsDto
impl Sync for SettingsDto
impl Unpin for SettingsDto
impl UnwindSafe for SettingsDto
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