pub struct MilestoneState {
pub contract_id: String,
pub phase_id: Option<String>,
pub complete: bool,
pub blocked_count: u32,
}Fields§
§contract_id: StringThe contract whose cascade is installed. phase_id is unique only inside it, so the pair
is the host’s complete lookup key (§7.9 note 6).
phase_id: Option<String>§complete: bool§blocked_count: u32Consecutive blocks on the current phase — the retry budget. A restore that reset it would hand a stalled cascade a fresh set of attempts.
Trait Implementations§
Source§impl Clone for MilestoneState
impl Clone for MilestoneState
Source§fn clone(&self) -> MilestoneState
fn clone(&self) -> MilestoneState
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 MilestoneState
impl Debug for MilestoneState
Source§impl<'de> Deserialize<'de> for MilestoneState
impl<'de> Deserialize<'de> for MilestoneState
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
Source§impl PartialEq for MilestoneState
impl PartialEq for MilestoneState
Source§impl Serialize for MilestoneState
impl Serialize for MilestoneState
impl StructuralPartialEq for MilestoneState
Auto Trait Implementations§
impl Freeze for MilestoneState
impl RefUnwindSafe for MilestoneState
impl Send for MilestoneState
impl Sync for MilestoneState
impl Unpin for MilestoneState
impl UnsafeUnpin for MilestoneState
impl UnwindSafe for MilestoneState
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