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