pub struct LifecycleConfig {
pub restart: RestartPolicy,
pub max_restarts: u32,
pub restart_window_secs: u64,
pub stop_timeout_secs: u64,
pub mcp_required: bool,
pub execution: ExecutionMode,
pub schedule: Vec<ScheduleEntry>,
pub idle_triggers: Vec<IdleTrigger>,
}Fields§
§restart: RestartPolicy§max_restarts: u32§restart_window_secs: u64§stop_timeout_secs: u64§mcp_required: bool§execution: ExecutionMode§schedule: Vec<ScheduleEntry>§idle_triggers: Vec<IdleTrigger>Trait Implementations§
Source§impl Clone for LifecycleConfig
impl Clone for LifecycleConfig
Source§fn clone(&self) -> LifecycleConfig
fn clone(&self) -> LifecycleConfig
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 LifecycleConfig
impl Debug for LifecycleConfig
Source§impl<'de> Deserialize<'de> for LifecycleConfig
impl<'de> Deserialize<'de> for LifecycleConfig
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 LifecycleConfig
impl PartialEq for LifecycleConfig
Source§fn eq(&self, other: &LifecycleConfig) -> bool
fn eq(&self, other: &LifecycleConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for LifecycleConfig
impl Serialize for LifecycleConfig
impl StructuralPartialEq for LifecycleConfig
Auto Trait Implementations§
impl Freeze for LifecycleConfig
impl RefUnwindSafe for LifecycleConfig
impl Send for LifecycleConfig
impl Sync for LifecycleConfig
impl Unpin for LifecycleConfig
impl UnsafeUnpin for LifecycleConfig
impl UnwindSafe for LifecycleConfig
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