Struct ControlContract
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§
§impl Clone for ControlContract
impl Clone for ControlContract
§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 more§impl Debug for ControlContract
impl Debug for ControlContract
§impl Default for ControlContract
impl Default for ControlContract
§fn default() -> ControlContract
fn default() -> ControlContract
Returns the “default value” for a type. Read more
§impl<'de> Deserialize<'de> for ControlContract
impl<'de> Deserialize<'de> for ControlContract
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ControlContract, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ControlContract, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl Serialize for ControlContract
impl Serialize for ControlContract
§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. 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