pub struct OptimizationConstraints {
pub max_latency: Option<Duration>,
pub min_throughput: Option<f64>,
pub max_energy_consumption: Option<f64>,
pub max_cost: Option<f64>,
pub min_reliability: Option<f64>,
pub resource_limits: ResourceLimits,
pub sla_requirements: Vec<SlaRequirement>,
}Expand description
Optimization constraints
Fields§
§max_latency: Option<Duration>Maximum acceptable latency
min_throughput: Option<f64>Minimum required throughput
max_energy_consumption: Option<f64>Maximum energy consumption
max_cost: Option<f64>Maximum cost budget
min_reliability: Option<f64>Minimum reliability requirement
resource_limits: ResourceLimitsResource usage limits
sla_requirements: Vec<SlaRequirement>SLA requirements
Trait Implementations§
Source§impl Clone for OptimizationConstraints
impl Clone for OptimizationConstraints
Source§fn clone(&self) -> OptimizationConstraints
fn clone(&self) -> OptimizationConstraints
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 OptimizationConstraints
impl Debug for OptimizationConstraints
Auto Trait Implementations§
impl Freeze for OptimizationConstraints
impl RefUnwindSafe for OptimizationConstraints
impl Send for OptimizationConstraints
impl Sync for OptimizationConstraints
impl Unpin for OptimizationConstraints
impl UnwindSafe for OptimizationConstraints
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more