pub enum Decision {
DraftRequiresApproval {
gate: ReviewGate,
},
Rejected {
reason: RejectionReason,
gate: ReviewGate,
},
}Expand description
Customer-copy decision that either remains approval-gated or is rejected for rewrite.
Variants§
DraftRequiresApproval
Customer-facing copy is only a draft until the customer-message approval gate is satisfied.
Fields
§
gate: ReviewGateApproval gate that must be satisfied before recommendation or customer-copy workflow proceeds.
Rejected
Customer-facing copy is rejected because it contains an unsafe claim or unsupported promise.
Fields
§
reason: RejectionReasonRejection reason staff must address before this copy can be approved.
§
gate: ReviewGateApproval gate that must be satisfied before recommendation or customer-copy workflow proceeds.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Decision
impl<'de> Deserialize<'de> for Decision
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 Decision
impl StructuralPartialEq for Decision
Auto Trait Implementations§
impl Freeze for Decision
impl RefUnwindSafe for Decision
impl Send for Decision
impl Sync for Decision
impl Unpin for Decision
impl UnsafeUnpin for Decision
impl UnwindSafe for Decision
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