pub struct PendingEpochEvent {
pub id: EpochEventId,
pub event: PendingEpochEventData,
}
Fields§
§id: EpochEventId
§event: PendingEpochEventData
Trait Implementations§
source§impl Clone for PendingEpochEvent
impl Clone for PendingEpochEvent
source§fn clone(&self) -> PendingEpochEvent
fn clone(&self) -> PendingEpochEvent
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 PendingEpochEvent
impl Debug for PendingEpochEvent
source§impl<'de> Deserialize<'de> for PendingEpochEvent
impl<'de> Deserialize<'de> for PendingEpochEvent
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 From<(u32, PendingEpochEventData)> for PendingEpochEvent
impl From<(u32, PendingEpochEventData)> for PendingEpochEvent
source§fn from(data: (EpochEventId, PendingEpochEventData)) -> Self
fn from(data: (EpochEventId, PendingEpochEventData)) -> Self
Converts to this type from the input type.
source§impl PartialEq<PendingEpochEvent> for PendingEpochEvent
impl PartialEq<PendingEpochEvent> for PendingEpochEvent
source§fn eq(&self, other: &PendingEpochEvent) -> bool
fn eq(&self, other: &PendingEpochEvent) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PendingEpochEvent
impl Serialize for PendingEpochEvent
impl StructuralPartialEq for PendingEpochEvent
Auto Trait Implementations§
impl RefUnwindSafe for PendingEpochEvent
impl Send for PendingEpochEvent
impl Sync for PendingEpochEvent
impl Unpin for PendingEpochEvent
impl UnwindSafe for PendingEpochEvent
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