pub struct GovernanceTransition {
pub from: GovernanceLevel,
pub to: GovernanceLevel,
pub scheduled_at: DateTime<Utc>,
pub completed: bool,
pub conditions_met: bool,
}Expand description
A planned transition between governance levels.
Fields§
§from: GovernanceLevelFrom level.
to: GovernanceLevelTo level.
scheduled_at: DateTime<Utc>When this transition should happen.
completed: boolWhether the transition has occurred.
conditions_met: boolWhether conditions were met.
Trait Implementations§
Source§impl Clone for GovernanceTransition
impl Clone for GovernanceTransition
Source§fn clone(&self) -> GovernanceTransition
fn clone(&self) -> GovernanceTransition
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 moreSource§impl Debug for GovernanceTransition
impl Debug for GovernanceTransition
Source§impl<'de> Deserialize<'de> for GovernanceTransition
impl<'de> Deserialize<'de> for GovernanceTransition
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 GovernanceTransition
impl RefUnwindSafe for GovernanceTransition
impl Send for GovernanceTransition
impl Sync for GovernanceTransition
impl Unpin for GovernanceTransition
impl UnsafeUnpin for GovernanceTransition
impl UnwindSafe for GovernanceTransition
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