pub struct SolutionInfo {
pub status: String,
pub solve_result_num: i32,
pub objective: f64,
pub x: Vec<f64>,
pub lambda: Vec<f64>,
pub suffixes: Vec<SolutionSuffix>,
}Fields§
§status: StringStatus string verbatim from
pounce_nlp::return_codes::ApplicationReturnStatus — we keep it
untyped here to avoid pulling in the nlp crate; consumers compare
against known tags ("SolveSucceeded", "MaximumIterationsExceeded",
etc.).
solve_result_num: i32§objective: f64§x: Vec<f64>§lambda: Vec<f64>§suffixes: Vec<SolutionSuffix>Trait Implementations§
Source§impl Clone for SolutionInfo
impl Clone for SolutionInfo
Source§fn clone(&self) -> SolutionInfo
fn clone(&self) -> SolutionInfo
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 SolutionInfo
impl Debug for SolutionInfo
Source§impl<'de> Deserialize<'de> for SolutionInfo
impl<'de> Deserialize<'de> for SolutionInfo
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 SolutionInfo
impl RefUnwindSafe for SolutionInfo
impl Send for SolutionInfo
impl Sync for SolutionInfo
impl Unpin for SolutionInfo
impl UnsafeUnpin for SolutionInfo
impl UnwindSafe for SolutionInfo
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