pub struct ControlContract {
pub soft_turn_timeout_ms: Option<u64>,
pub steering_mode: String,
pub context_delivery: String,
pub tool_advisory: bool,
pub telemetry_interval_ms: Option<u64>,
pub repair_enabled: bool,
pub persistence_enabled: bool,
}Expand description
Runtime control-plane settings.
Fields§
§soft_turn_timeout_ms: Option<u64>Soft-turn timeout in milliseconds.
steering_mode: StringSteering mode.
context_delivery: StringContext delivery mode.
tool_advisory: boolWhether phase transition tool advisory is enabled.
telemetry_interval_ms: Option<u64>Telemetry interval in milliseconds.
repair_enabled: boolWhether repair is configured.
persistence_enabled: boolWhether persistence is configured.
Trait Implementations§
Source§impl Clone for ControlContract
impl Clone for ControlContract
Source§fn clone(&self) -> ControlContract
fn clone(&self) -> ControlContract
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 ControlContract
impl Debug for ControlContract
Source§impl Default for ControlContract
impl Default for ControlContract
Source§impl<'de> Deserialize<'de> for ControlContract
impl<'de> Deserialize<'de> for ControlContract
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 ControlContract
impl RefUnwindSafe for ControlContract
impl Send for ControlContract
impl Sync for ControlContract
impl Unpin for ControlContract
impl UnwindSafe for ControlContract
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