Struct wallet_core::c::settings::SettingsInit
source · #[repr(C)]pub struct SettingsInit {
pub fees: LinearFee,
pub discrimination: Discrimination,
pub block0_initial_hash: *const u8,
pub block0_date: u64,
pub slot_duration: u8,
pub time_era: TimeEra,
pub transaction_max_expiry_epochs: u8,
}
Fields§
§fees: LinearFee
§discrimination: Discrimination
§block0_initial_hash: *const u8
block_0_initial_hash is assumed to point to 32 bytes of readable memory
block0_date: u64
Unix timestamp of the genesis block. Provides an anchor to compute block dates from calendar date/time.
slot_duration: u8
§time_era: TimeEra
§transaction_max_expiry_epochs: u8
Auto Trait Implementations§
impl RefUnwindSafe for SettingsInit
impl !Send for SettingsInit
impl !Sync for SettingsInit
impl Unpin for SettingsInit
impl UnwindSafe for SettingsInit
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