pub struct SolutionUnitValue {
pub value: f64,
pub unit: String,
}Fields§
§value: f64§unit: StringTrait Implementations§
Source§impl Clone for SolutionUnitValue
impl Clone for SolutionUnitValue
Source§impl Debug for SolutionUnitValue
impl Debug for SolutionUnitValue
Source§impl<'de> Deserialize<'de> for SolutionUnitValue
impl<'de> Deserialize<'de> for SolutionUnitValue
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 Display for SolutionUnitValue
impl Display for SolutionUnitValue
Source§impl PartialEq for SolutionUnitValue
impl PartialEq for SolutionUnitValue
Source§impl Serialize for SolutionUnitValue
impl Serialize for SolutionUnitValue
impl StructuralPartialEq for SolutionUnitValue
Auto Trait Implementations§
impl Freeze for SolutionUnitValue
impl RefUnwindSafe for SolutionUnitValue
impl Send for SolutionUnitValue
impl Sync for SolutionUnitValue
impl Unpin for SolutionUnitValue
impl UnsafeUnpin for SolutionUnitValue
impl UnwindSafe for SolutionUnitValue
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