pub struct EraTimeStamp {
pub epoch: i64,
pub slot: i64,
pub time: i64,
}
Fields§
§epoch: i64
§slot: i64
§time: i64
Trait Implementations§
Source§impl Clone for EraTimeStamp
impl Clone for EraTimeStamp
Source§fn clone(&self) -> EraTimeStamp
fn clone(&self) -> EraTimeStamp
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 EraTimeStamp
impl Debug for EraTimeStamp
Source§impl<'de> Deserialize<'de> for EraTimeStamp
impl<'de> Deserialize<'de> for EraTimeStamp
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 EraTimeStamp
impl RefUnwindSafe for EraTimeStamp
impl Send for EraTimeStamp
impl Sync for EraTimeStamp
impl Unpin for EraTimeStamp
impl UnwindSafe for EraTimeStamp
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