pub struct DeploymentStepResult {
pub state: DeploymentState,
pub error: Option<AlienError>,
pub suggested_delay_ms: Option<u64>,
pub update_heartbeat: bool,
}Expand description
Result of a deployment step
Contains the complete next deployment state along with hints for the platform.
This replaces the old delta-based DeploymentStateUpdate approach.
Fields§
§state: DeploymentStateThe complete next deployment state
error: Option<AlienError>Error that occurred during this step (if any)
None: No error, step succeededSome(error): Step failed or encountered an error
suggested_delay_ms: Option<u64>Suggested delay before next step (optimization hint)
None: No suggested delay, can poll immediatelySome(ms): Wait this many milliseconds before next step
update_heartbeat: boolWhether to update heartbeat timestamp (monitoring signal)
false: Don’t update heartbeat (default for most steps)true: Update lastHeartbeatAt (for successful health checks in Running state)
Trait Implementations§
Source§impl Clone for DeploymentStepResult
impl Clone for DeploymentStepResult
Source§fn clone(&self) -> DeploymentStepResult
fn clone(&self) -> DeploymentStepResult
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 DeploymentStepResult
impl Debug for DeploymentStepResult
Source§impl<'de> Deserialize<'de> for DeploymentStepResult
impl<'de> Deserialize<'de> for DeploymentStepResult
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 DeploymentStepResult
impl !RefUnwindSafe for DeploymentStepResult
impl Send for DeploymentStepResult
impl Sync for DeploymentStepResult
impl Unpin for DeploymentStepResult
impl UnsafeUnpin for DeploymentStepResult
impl !UnwindSafe for DeploymentStepResult
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