pub struct LatestMilestoneChanged {
pub index: MilestoneIndex,
pub milestone: Milestone,
}Expand description
An event that indicates that the latest milestone has changed.
Fields§
§index: MilestoneIndexThe index of the milestone
milestone: MilestoneThe milestone data
Trait Implementations§
Source§impl Clone for LatestMilestoneChanged
impl Clone for LatestMilestoneChanged
Source§fn clone(&self) -> LatestMilestoneChanged
fn clone(&self) -> LatestMilestoneChanged
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 moreAuto Trait Implementations§
impl Freeze for LatestMilestoneChanged
impl RefUnwindSafe for LatestMilestoneChanged
impl Send for LatestMilestoneChanged
impl Sync for LatestMilestoneChanged
impl Unpin for LatestMilestoneChanged
impl UnwindSafe for LatestMilestoneChanged
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