pub struct CurrentIntervalResponse {
pub interval: Interval,
pub current_blocktime: u64,
pub is_current_interval_over: bool,
pub is_current_epoch_over: bool,
}
Fields§
§interval: Interval
§current_blocktime: u64
§is_current_interval_over: bool
§is_current_epoch_over: bool
Implementations§
Trait Implementations§
source§impl Clone for CurrentIntervalResponse
impl Clone for CurrentIntervalResponse
source§fn clone(&self) -> CurrentIntervalResponse
fn clone(&self) -> CurrentIntervalResponse
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 CurrentIntervalResponse
impl Debug for CurrentIntervalResponse
source§impl<'de> Deserialize<'de> for CurrentIntervalResponse
impl<'de> Deserialize<'de> for CurrentIntervalResponse
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<CurrentIntervalResponse> for CurrentIntervalResponse
impl PartialEq<CurrentIntervalResponse> for CurrentIntervalResponse
source§fn eq(&self, other: &CurrentIntervalResponse) -> bool
fn eq(&self, other: &CurrentIntervalResponse) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for CurrentIntervalResponse
impl Serialize for CurrentIntervalResponse
impl Copy for CurrentIntervalResponse
impl Eq for CurrentIntervalResponse
impl StructuralEq for CurrentIntervalResponse
impl StructuralPartialEq for CurrentIntervalResponse
Auto Trait Implementations§
impl RefUnwindSafe for CurrentIntervalResponse
impl Send for CurrentIntervalResponse
impl Sync for CurrentIntervalResponse
impl Unpin for CurrentIntervalResponse
impl UnwindSafe for CurrentIntervalResponse
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