pub struct SystemAspectWeight {
pub system_id: String,
pub aspect: Aspect,
pub weight_pct: u32,
}Expand description
One weight in the model: how much a body system contributes to an aspect (percent; 0 = not at all,
100 = fully). Plain and inspectable — this is the “human weights model”, written out.
Fields§
§system_id: String§aspect: Aspect§weight_pct: u32Trait Implementations§
Source§impl Clone for SystemAspectWeight
impl Clone for SystemAspectWeight
Source§impl Debug for SystemAspectWeight
impl Debug for SystemAspectWeight
Source§impl<'de> Deserialize<'de> for SystemAspectWeight
impl<'de> Deserialize<'de> for SystemAspectWeight
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
impl Eq for SystemAspectWeight
Source§impl PartialEq for SystemAspectWeight
impl PartialEq for SystemAspectWeight
Source§impl Serialize for SystemAspectWeight
impl Serialize for SystemAspectWeight
impl StructuralPartialEq for SystemAspectWeight
Auto Trait Implementations§
impl Freeze for SystemAspectWeight
impl RefUnwindSafe for SystemAspectWeight
impl Send for SystemAspectWeight
impl Sync for SystemAspectWeight
impl Unpin for SystemAspectWeight
impl UnsafeUnpin for SystemAspectWeight
impl UnwindSafe for SystemAspectWeight
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