pub struct ResultInput {
pub name: String,
pub value: f64,
pub unit: String,
pub lower_limit: Option<f64>,
pub upper_limit: Option<f64>,
pub load_case: String,
pub solver: String,
pub solver_version: String,
pub note: String,
pub source: String,
}Expand description
A result value as entered or imported.
Fields§
§name: String§value: f64§unit: String§lower_limit: Option<f64>§upper_limit: Option<f64>§load_case: String§solver: String§solver_version: String§note: String§source: StringWhere the value came from (file:line, set by exchange files and
templates; never read from a request).
Implementations§
Source§impl ResultInput
impl ResultInput
pub fn validated(self) -> AppResult<ResultInput>
Trait Implementations§
Source§impl Clone for ResultInput
impl Clone for ResultInput
Source§impl Debug for ResultInput
impl Debug for ResultInput
Source§impl Default for ResultInput
impl Default for ResultInput
Source§impl<'de> Deserialize<'de> for ResultInput
impl<'de> Deserialize<'de> for ResultInput
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 ResultInput
impl PartialEq for ResultInput
impl StructuralPartialEq for ResultInput
Auto Trait Implementations§
impl Freeze for ResultInput
impl RefUnwindSafe for ResultInput
impl Send for ResultInput
impl Sync for ResultInput
impl Unpin for ResultInput
impl UnsafeUnpin for ResultInput
impl UnwindSafe for ResultInput
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> 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 moreimpl<T> Parallelizable for T
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
§impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
§fn to_owned_obj(&self, data: FontData<'_>) -> U
fn to_owned_obj(&self, data: FontData<'_>) -> U
Convert this type into
T, using the provided data to resolve any offsets.