pub struct TradeoffDecision {
pub accepted_tradeoff: bool,
pub review_required: bool,
pub review_reasons: Vec<String>,
pub status: MetricStatus,
pub reason: String,
}Expand description
Final structured tradeoff decision.
Fields§
§accepted_tradeoff: bool§review_required: bool§review_reasons: Vec<String>§status: MetricStatus§reason: StringTrait Implementations§
Source§impl Clone for TradeoffDecision
impl Clone for TradeoffDecision
Source§fn clone(&self) -> TradeoffDecision
fn clone(&self) -> TradeoffDecision
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 TradeoffDecision
impl Debug for TradeoffDecision
Source§impl<'de> Deserialize<'de> for TradeoffDecision
impl<'de> Deserialize<'de> for TradeoffDecision
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 JsonSchema for TradeoffDecision
impl JsonSchema for TradeoffDecision
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for TradeoffDecision
impl PartialEq for TradeoffDecision
Source§fn eq(&self, other: &TradeoffDecision) -> bool
fn eq(&self, other: &TradeoffDecision) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TradeoffDecision
impl Serialize for TradeoffDecision
impl StructuralPartialEq for TradeoffDecision
Auto Trait Implementations§
impl Freeze for TradeoffDecision
impl RefUnwindSafe for TradeoffDecision
impl Send for TradeoffDecision
impl Sync for TradeoffDecision
impl Unpin for TradeoffDecision
impl UnsafeUnpin for TradeoffDecision
impl UnwindSafe for TradeoffDecision
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