pub struct DeploymentStatus {
pub files_changed: bool,
pub env_changed: bool,
pub ports_changed: bool,
pub services_healthy: bool,
pub message: String,
}Fields§
§files_changed: boolWhether any project files have changed
env_changed: boolWhether environment configuration has changed
ports_changed: boolWhether port configuration has changed
services_healthy: boolWhether all services are healthy
message: StringDetailed status message
Implementations§
Source§impl DeploymentStatus
impl DeploymentStatus
pub fn new() -> Self
pub fn with_message(message: impl Into<String>) -> Self
pub fn is_successful(&self) -> bool
pub fn has_pending_changes(&self) -> bool
Trait Implementations§
Source§impl Clone for DeploymentStatus
impl Clone for DeploymentStatus
Source§fn clone(&self) -> DeploymentStatus
fn clone(&self) -> DeploymentStatus
Returns a copy 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 DeploymentStatus
impl Debug for DeploymentStatus
Source§impl Default for DeploymentStatus
impl Default for DeploymentStatus
Source§impl<'de> Deserialize<'de> for DeploymentStatus
impl<'de> Deserialize<'de> for DeploymentStatus
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 DeploymentStatus
impl RefUnwindSafe for DeploymentStatus
impl Send for DeploymentStatus
impl Sync for DeploymentStatus
impl Unpin for DeploymentStatus
impl UnwindSafe for DeploymentStatus
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