pub struct NetworkErasInnerStart {
pub time: i32,
pub slot: i32,
pub epoch: i32,
}Expand description
NetworkErasInnerStart : Start of the blockchain era, relative to the start of the network
Fields§
§time: i32Time in seconds relative to the start time of the network
slot: i32Absolute slot number
epoch: i32Epoch number
Implementations§
Trait Implementations§
Source§impl Clone for NetworkErasInnerStart
impl Clone for NetworkErasInnerStart
Source§fn clone(&self) -> NetworkErasInnerStart
fn clone(&self) -> NetworkErasInnerStart
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 NetworkErasInnerStart
impl Debug for NetworkErasInnerStart
Source§impl Default for NetworkErasInnerStart
impl Default for NetworkErasInnerStart
Source§fn default() -> NetworkErasInnerStart
fn default() -> NetworkErasInnerStart
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NetworkErasInnerStart
impl<'de> Deserialize<'de> for NetworkErasInnerStart
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 for NetworkErasInnerStart
impl PartialEq for NetworkErasInnerStart
Source§impl Serialize for NetworkErasInnerStart
impl Serialize for NetworkErasInnerStart
impl StructuralPartialEq for NetworkErasInnerStart
Auto Trait Implementations§
impl Freeze for NetworkErasInnerStart
impl RefUnwindSafe for NetworkErasInnerStart
impl Send for NetworkErasInnerStart
impl Sync for NetworkErasInnerStart
impl Unpin for NetworkErasInnerStart
impl UnwindSafe for NetworkErasInnerStart
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