pub struct AutonomicGatingProfile {
pub operational: GatingProfile,
pub economic: EconomicGates,
pub rationale: Vec<String>,
}Expand description
The full gating profile emitted by the Autonomic controller.
Embeds the canonical GatingProfile for operational gates and adds
economic regulation on top.
Fields§
§operational: GatingProfileCanonical operational gates (from aios-protocol).
economic: EconomicGatesEconomic regulation gates (Autonomic extension).
rationale: Vec<String>Human-readable rationale for why this profile was chosen.
Trait Implementations§
Source§impl Clone for AutonomicGatingProfile
impl Clone for AutonomicGatingProfile
Source§fn clone(&self) -> AutonomicGatingProfile
fn clone(&self) -> AutonomicGatingProfile
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 AutonomicGatingProfile
impl Debug for AutonomicGatingProfile
Source§impl Default for AutonomicGatingProfile
impl Default for AutonomicGatingProfile
Source§fn default() -> AutonomicGatingProfile
fn default() -> AutonomicGatingProfile
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AutonomicGatingProfile
impl<'de> Deserialize<'de> for AutonomicGatingProfile
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 AutonomicGatingProfile
impl RefUnwindSafe for AutonomicGatingProfile
impl Send for AutonomicGatingProfile
impl Sync for AutonomicGatingProfile
impl Unpin for AutonomicGatingProfile
impl UnsafeUnpin for AutonomicGatingProfile
impl UnwindSafe for AutonomicGatingProfile
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