pub enum DeploymentState {
Pending,
Building,
Running,
InProgress,
Stopped,
Stopping,
Failed,
Unknown,
}
Variants§
Implementations§
Source§impl DeploymentState
impl DeploymentState
pub fn get_color_crossterm(&self) -> Color
pub fn get_color_comfy_table(&self) -> Color
pub fn to_string_colored(&self) -> String
Trait Implementations§
Source§impl Clone for DeploymentState
impl Clone for DeploymentState
Source§fn clone(&self) -> DeploymentState
fn clone(&self) -> DeploymentState
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 DeploymentState
impl Debug for DeploymentState
Source§impl<'de> Deserialize<'de> for DeploymentState
impl<'de> Deserialize<'de> for DeploymentState
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 Display for DeploymentState
impl Display for DeploymentState
Source§impl FromStr for DeploymentState
impl FromStr for DeploymentState
Source§impl PartialEq for DeploymentState
impl PartialEq for DeploymentState
Source§impl Serialize for DeploymentState
impl Serialize for DeploymentState
Source§impl TryFrom<&str> for DeploymentState
impl TryFrom<&str> for DeploymentState
impl Eq for DeploymentState
impl StructuralPartialEq for DeploymentState
Auto Trait Implementations§
impl Freeze for DeploymentState
impl RefUnwindSafe for DeploymentState
impl Send for DeploymentState
impl Sync for DeploymentState
impl Unpin for DeploymentState
impl UnwindSafe for DeploymentState
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