pub struct NetworkErasInnerEnd {
pub time: i32,
pub slot: i32,
pub epoch: i32,
}Expand description
NetworkErasInnerEnd : End 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 NetworkErasInnerEnd
impl Clone for NetworkErasInnerEnd
Source§fn clone(&self) -> NetworkErasInnerEnd
fn clone(&self) -> NetworkErasInnerEnd
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 NetworkErasInnerEnd
impl Debug for NetworkErasInnerEnd
Source§impl Default for NetworkErasInnerEnd
impl Default for NetworkErasInnerEnd
Source§fn default() -> NetworkErasInnerEnd
fn default() -> NetworkErasInnerEnd
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NetworkErasInnerEnd
impl<'de> Deserialize<'de> for NetworkErasInnerEnd
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 NetworkErasInnerEnd
impl PartialEq for NetworkErasInnerEnd
Source§impl Serialize for NetworkErasInnerEnd
impl Serialize for NetworkErasInnerEnd
impl StructuralPartialEq for NetworkErasInnerEnd
Auto Trait Implementations§
impl Freeze for NetworkErasInnerEnd
impl RefUnwindSafe for NetworkErasInnerEnd
impl Send for NetworkErasInnerEnd
impl Sync for NetworkErasInnerEnd
impl Unpin for NetworkErasInnerEnd
impl UnwindSafe for NetworkErasInnerEnd
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