pub struct ShardingReportProgressInfo {
pub current_block_height: CandidBlockHeight,
pub in_progress: bool,
pub report_status: ReportStatus,
pub major_submitter: Option<ShardingReportSubmitter>,
pub secondary_submitter: Option<ShardingReportSubmitter>,
pub now: TimeInNs,
}
Fields§
§current_block_height: CandidBlockHeight
§in_progress: bool
§report_status: ReportStatus
§major_submitter: Option<ShardingReportSubmitter>
§secondary_submitter: Option<ShardingReportSubmitter>
§now: TimeInNs
Trait Implementations§
source§impl Clone for ShardingReportProgressInfo
impl Clone for ShardingReportProgressInfo
source§fn clone(&self) -> ShardingReportProgressInfo
fn clone(&self) -> ShardingReportProgressInfo
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 ShardingReportProgressInfo
impl Debug for ShardingReportProgressInfo
source§impl<'de> Deserialize<'de> for ShardingReportProgressInfo
impl<'de> Deserialize<'de> for ShardingReportProgressInfo
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 ShardingReportProgressInfo
impl RefUnwindSafe for ShardingReportProgressInfo
impl Send for ShardingReportProgressInfo
impl Sync for ShardingReportProgressInfo
impl Unpin for ShardingReportProgressInfo
impl UnwindSafe for ShardingReportProgressInfo
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