pub struct DeploymentConfig {
pub auto_start: bool,
pub restart_on_failure: bool,
pub max_restart_count: u32,
pub health_check_interval: u64,
pub timeout_seconds: u64,
pub log_level: LogLevel,
pub custom_args: HashMap<String, String>,
}
Expand description
部署配置
Fields§
§auto_start: bool
§restart_on_failure: bool
§max_restart_count: u32
§health_check_interval: u64
§timeout_seconds: u64
§log_level: LogLevel
§custom_args: HashMap<String, String>
Trait Implementations§
Source§impl Clone for DeploymentConfig
impl Clone for DeploymentConfig
Source§fn clone(&self) -> DeploymentConfig
fn clone(&self) -> DeploymentConfig
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 DeploymentConfig
impl Debug for DeploymentConfig
Source§impl<'de> Deserialize<'de> for DeploymentConfig
impl<'de> Deserialize<'de> for DeploymentConfig
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 DeploymentConfig
impl RefUnwindSafe for DeploymentConfig
impl Send for DeploymentConfig
impl Sync for DeploymentConfig
impl Unpin for DeploymentConfig
impl UnwindSafe for DeploymentConfig
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