pub struct SnsUpgradeReport {
pub schema_version: u32,
pub context: SnsReportContext,
pub running_version_method: SnsCanisterMethod,
pub next_version_method: SnsCanisterMethod,
pub point_in_time_guaranteed: bool,
pub component_query_count: usize,
pub successful_component_query_count: usize,
pub component_gap_count: usize,
pub deployed_version: SnsVersion,
pub pending_upgrade: Option<SnsPendingUpgrade>,
pub next_version: Option<SnsVersion>,
pub next_version_gap: Option<SnsUpgradeQueryGap>,
}Expand description
SnsUpgradeReport
Bounded live report of one SNS deployed, pending, and next blessed version.
Fields§
§schema_version: u32Report schema version.
context: SnsReportContextSNS identity and provenance, serialized as flat report fields.
running_version_method: SnsCanisterMethodNative Governance running-version method.
next_version_method: SnsCanisterMethodNative SNS-W next-version method.
point_in_time_guaranteed: boolWhether both component responses represent one authoritative point in time.
component_query_count: usizeFixed number of bounded upgrade component queries attempted.
successful_component_query_count: usizeNumber of component queries that returned successfully.
component_gap_count: usizeNumber of retained next-version query gaps.
deployed_version: SnsVersionGovernance-reported deployed SNS version.
pending_upgrade: Option<SnsPendingUpgrade>Governance-reported pending upgrade, when present.
next_version: Option<SnsVersion>Next blessed SNS-W version, or None when no successor exists.
next_version_gap: Option<SnsUpgradeQueryGap>Failed next-version query, distinct from a successful response with no successor.
Trait Implementations§
Source§impl Clone for SnsUpgradeReport
impl Clone for SnsUpgradeReport
Source§impl Debug for SnsUpgradeReport
impl Debug for SnsUpgradeReport
impl Eq for SnsUpgradeReport
Source§impl PartialEq for SnsUpgradeReport
impl PartialEq for SnsUpgradeReport
Source§impl Serialize for SnsUpgradeReport
impl Serialize for SnsUpgradeReport
impl StructuralPartialEq for SnsUpgradeReport
Auto Trait Implementations§
impl Freeze for SnsUpgradeReport
impl RefUnwindSafe for SnsUpgradeReport
impl Send for SnsUpgradeReport
impl Sync for SnsUpgradeReport
impl Unpin for SnsUpgradeReport
impl UnsafeUnpin for SnsUpgradeReport
impl UnwindSafe for SnsUpgradeReport
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