pub struct EraParams {
pub epoch_length: i64,
pub safe_zone: i64,
pub slot_length: i64,
}
Fields§
§epoch_length: i64
§safe_zone: i64
§slot_length: i64
Trait Implementations§
Source§impl<'de> Deserialize<'de> for EraParams
impl<'de> Deserialize<'de> for EraParams
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 EraParams
impl RefUnwindSafe for EraParams
impl Send for EraParams
impl Sync for EraParams
impl Unpin for EraParams
impl UnwindSafe for EraParams
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