pub struct SnsPendingUpgrade {
pub mark_failed_at_seconds: u64,
pub checking_upgrade_lock: u64,
pub proposal_id: u64,
pub target_version: Option<SnsVersion>,
}Expand description
SnsPendingUpgrade
Native pending-upgrade state reported by SNS Governance.
Fields§
§mark_failed_at_seconds: u64Native deadline after which Governance may mark the upgrade failed.
checking_upgrade_lock: u64Native Governance upgrade-lock checking value.
proposal_id: u64NNS proposal that initiated the pending upgrade.
target_version: Option<SnsVersion>Pending target version, when Governance returned it.
Trait Implementations§
Source§impl Clone for SnsPendingUpgrade
impl Clone for SnsPendingUpgrade
Source§fn clone(&self) -> SnsPendingUpgrade
fn clone(&self) -> SnsPendingUpgrade
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SnsPendingUpgrade
impl Debug for SnsPendingUpgrade
impl Eq for SnsPendingUpgrade
Source§impl PartialEq for SnsPendingUpgrade
impl PartialEq for SnsPendingUpgrade
Source§impl Serialize for SnsPendingUpgrade
impl Serialize for SnsPendingUpgrade
impl StructuralPartialEq for SnsPendingUpgrade
Auto Trait Implementations§
impl Freeze for SnsPendingUpgrade
impl RefUnwindSafe for SnsPendingUpgrade
impl Send for SnsPendingUpgrade
impl Sync for SnsPendingUpgrade
impl Unpin for SnsPendingUpgrade
impl UnsafeUnpin for SnsPendingUpgrade
impl UnwindSafe for SnsPendingUpgrade
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