pub struct Lastgradient {
pub gradient: Decimal3,
pub einheit: String,
pub basisgroesse: Option<Decimal3>,
}Expand description
A load gradient and the capacity it is expressed relative to.
Basisgroesse is what makes @Gradient interpretable: a gradient given in
%/min is a percentage of that base, so a reader that drops it either
has to guess the reference or cannot use the figure at all.
Fields§
§gradient: Decimal3The ramp rate.
einheit: StringUnit of the ramp rate (Z01 = %/min, or MAW).
basisgroesse: Option<Decimal3>Capacity the gradient is relative to (MW).
Trait Implementations§
Source§impl Clone for Lastgradient
impl Clone for Lastgradient
Source§fn clone(&self) -> Lastgradient
fn clone(&self) -> Lastgradient
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 Lastgradient
impl Debug for Lastgradient
Source§impl<'de> Deserialize<'de> for Lastgradient
impl<'de> Deserialize<'de> for Lastgradient
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 Lastgradient
impl PartialEq for Lastgradient
Source§impl Serialize for Lastgradient
impl Serialize for Lastgradient
impl StructuralPartialEq for Lastgradient
Auto Trait Implementations§
impl Freeze for Lastgradient
impl RefUnwindSafe for Lastgradient
impl Send for Lastgradient
impl Sync for Lastgradient
impl Unpin for Lastgradient
impl UnsafeUnpin for Lastgradient
impl UnwindSafe for Lastgradient
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