pub struct PromotionDecision {Show 14 fields
pub schema_version: String,
pub decision_id: PromotionDecisionId,
pub case_id: VerificationCaseId,
pub disposition: VerificationDisposition,
pub promotion_class: PromotionClass,
pub reversibility_class: ReversibilityClass,
pub policy_decision_id: PolicyDecisionId,
pub citation: V25CitationContext,
pub promotable: bool,
pub evidence_sufficiency_summary: String,
pub approval_basis: String,
pub rollback_scope: RollbackScopeV1,
pub reasons: Vec<String>,
pub control_receipt_id: Option<ControlReceiptId>,
}Fields§
§schema_version: String§decision_id: PromotionDecisionId§case_id: VerificationCaseId§disposition: VerificationDisposition§promotion_class: PromotionClass§reversibility_class: ReversibilityClass§policy_decision_id: PolicyDecisionId§citation: V25CitationContext§promotable: bool§evidence_sufficiency_summary: String§approval_basis: String§rollback_scope: RollbackScopeV1§reasons: Vec<String>§control_receipt_id: Option<ControlReceiptId>Implementations§
Trait Implementations§
Source§impl Clone for PromotionDecision
impl Clone for PromotionDecision
Source§fn clone(&self) -> PromotionDecision
fn clone(&self) -> PromotionDecision
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 PromotionDecision
impl Debug for PromotionDecision
Source§impl<'de> Deserialize<'de> for PromotionDecision
impl<'de> Deserialize<'de> for PromotionDecision
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 PromotionDecision
Source§impl JsonSchema for PromotionDecision
impl JsonSchema for PromotionDecision
Source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
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 is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for PromotionDecision
impl PartialEq for PromotionDecision
Source§fn eq(&self, other: &PromotionDecision) -> bool
fn eq(&self, other: &PromotionDecision) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PromotionDecision
impl Serialize for PromotionDecision
impl StructuralPartialEq for PromotionDecision
Auto Trait Implementations§
impl Freeze for PromotionDecision
impl RefUnwindSafe for PromotionDecision
impl Send for PromotionDecision
impl Sync for PromotionDecision
impl Unpin for PromotionDecision
impl UnsafeUnpin for PromotionDecision
impl UnwindSafe for PromotionDecision
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