pub struct NetworkErasInnerEnd {
pub time: f32,
pub slot: i32,
pub epoch: i32,
}Expand description
NetworkErasInnerEnd : End of the blockchain era, relative to the start of the network
Fields§
§time: f32Time 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 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 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§fn eq(&self, other: &NetworkErasInnerEnd) -> bool
fn eq(&self, other: &NetworkErasInnerEnd) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for NetworkErasInnerEnd
impl Serialize for NetworkErasInnerEnd
impl StructuralPartialEq for NetworkErasInnerEnd
Auto Trait Implementations§
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