pub struct OptimizationReport {
pub kind: OptimizationKind,
pub converged: bool,
pub old_scale: TmFloat,
pub new_scale: TmFloat,
pub is_feasible: bool,
pub message: String,
}Expand description
Report returned by optimization operations.
Fields§
§kind: OptimizationKind§converged: bool§old_scale: TmFloat§new_scale: TmFloat§is_feasible: bool§message: StringTrait Implementations§
Source§impl Clone for OptimizationReport
impl Clone for OptimizationReport
Source§fn clone(&self) -> OptimizationReport
fn clone(&self) -> OptimizationReport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 OptimizationReport
impl Debug for OptimizationReport
Source§impl<'de> Deserialize<'de> for OptimizationReport
impl<'de> Deserialize<'de> for OptimizationReport
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
Source§impl PartialEq for OptimizationReport
impl PartialEq for OptimizationReport
Source§fn eq(&self, other: &OptimizationReport) -> bool
fn eq(&self, other: &OptimizationReport) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for OptimizationReport
impl Serialize for OptimizationReport
impl StructuralPartialEq for OptimizationReport
Auto Trait Implementations§
impl Freeze for OptimizationReport
impl RefUnwindSafe for OptimizationReport
impl Send for OptimizationReport
impl Sync for OptimizationReport
impl Unpin for OptimizationReport
impl UnsafeUnpin for OptimizationReport
impl UnwindSafe for OptimizationReport
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