pub struct OptimalConfiguration {
pub cpu_recommendation: String,
pub gpu_recommendation: String,
pub memory_recommendation: String,
pub storage_recommendation: String,
pub network_recommendation: String,
pub total_cost: Option<CostEstimate>,
pub performance_projection: PerformanceEstimate,
}Expand description
Optimal configuration recommendation
Fields§
§cpu_recommendation: StringCPU recommendation
gpu_recommendation: StringGPU recommendation
memory_recommendation: StringMemory recommendation
storage_recommendation: StringStorage recommendation
network_recommendation: StringNetwork recommendation
total_cost: Option<CostEstimate>Total estimated cost
performance_projection: PerformanceEstimatePerformance projection
Implementations§
Source§impl OptimalConfiguration
impl OptimalConfiguration
Sourcepub fn cpu_recommendation(&self) -> &str
pub fn cpu_recommendation(&self) -> &str
Get CPU recommendation
Sourcepub fn gpu_recommendation(&self) -> &str
pub fn gpu_recommendation(&self) -> &str
Get GPU recommendation
Sourcepub fn memory_recommendation(&self) -> &str
pub fn memory_recommendation(&self) -> &str
Get memory recommendation
Sourcepub fn storage_recommendation(&self) -> &str
pub fn storage_recommendation(&self) -> &str
Get storage recommendation
Sourcepub fn network_recommendation(&self) -> &str
pub fn network_recommendation(&self) -> &str
Get network recommendation
Trait Implementations§
Source§impl Clone for OptimalConfiguration
impl Clone for OptimalConfiguration
Source§fn clone(&self) -> OptimalConfiguration
fn clone(&self) -> OptimalConfiguration
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 OptimalConfiguration
impl Debug for OptimalConfiguration
Source§impl<'de> Deserialize<'de> for OptimalConfiguration
impl<'de> Deserialize<'de> for OptimalConfiguration
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 OptimalConfiguration
impl RefUnwindSafe for OptimalConfiguration
impl Send for OptimalConfiguration
impl Sync for OptimalConfiguration
impl Unpin for OptimalConfiguration
impl UnwindSafe for OptimalConfiguration
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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