pub struct AlternativeEvaluation {
pub alternative_id: Uuid,
pub description: String,
pub pros: Vec<String>,
pub cons: Vec<String>,
pub risk_level: RiskLevel,
pub selected: bool,
pub rejection_reason: Option<String>,
}Expand description
Alternative evaluation in judgment process.
Fields§
§alternative_id: UuidAlternative ID
description: StringDescription of alternative
pros: Vec<String>Pros/advantages
cons: Vec<String>Cons/disadvantages
risk_level: RiskLevelRisk level if chosen
selected: boolWas this alternative selected?
rejection_reason: Option<String>Reason if not selected
Implementations§
Trait Implementations§
Source§impl Clone for AlternativeEvaluation
impl Clone for AlternativeEvaluation
Source§fn clone(&self) -> AlternativeEvaluation
fn clone(&self) -> AlternativeEvaluation
Returns a duplicate of the value. Read more
1.0.0 · 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 AlternativeEvaluation
impl Debug for AlternativeEvaluation
Source§impl<'de> Deserialize<'de> for AlternativeEvaluation
impl<'de> Deserialize<'de> for AlternativeEvaluation
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 AlternativeEvaluation
impl RefUnwindSafe for AlternativeEvaluation
impl Send for AlternativeEvaluation
impl Sync for AlternativeEvaluation
impl Unpin for AlternativeEvaluation
impl UnwindSafe for AlternativeEvaluation
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