pub struct PromotionDecisionReceiptV1 {Show 17 fields
pub schema_version: String,
pub receipt_id: String,
pub caller_idempotency_key: String,
pub proposal_id: String,
pub principal: String,
pub policy_kind: ShadowPolicyKindV1,
pub disposition: PromotionDispositionV1,
pub status: ShadowPolicyStatusV1,
pub reason_codes: Vec<String>,
pub evidence_digest: String,
pub before_version: Option<u64>,
pub after_version: Option<u64>,
pub before_policy_digest: Option<String>,
pub after_policy_digest: Option<String>,
pub rollback_target: Option<String>,
pub receipt_digest: String,
pub committed_at: String,
}Fields§
§schema_version: String§receipt_id: String§caller_idempotency_key: String§proposal_id: String§principal: String§policy_kind: ShadowPolicyKindV1§disposition: PromotionDispositionV1§status: ShadowPolicyStatusV1§reason_codes: Vec<String>§evidence_digest: String§before_version: Option<u64>§after_version: Option<u64>§before_policy_digest: Option<String>§after_policy_digest: Option<String>§rollback_target: Option<String>§receipt_digest: String§committed_at: StringImplementations§
Source§impl PromotionDecisionReceiptV1
impl PromotionDecisionReceiptV1
pub const SCHEMA_VERSION: &'static str = PROMOTION_DECISION_RECEIPT_V1
Trait Implementations§
Source§impl Clone for PromotionDecisionReceiptV1
impl Clone for PromotionDecisionReceiptV1
Source§fn clone(&self) -> PromotionDecisionReceiptV1
fn clone(&self) -> PromotionDecisionReceiptV1
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 PromotionDecisionReceiptV1
impl Debug for PromotionDecisionReceiptV1
Source§impl<'de> Deserialize<'de> for PromotionDecisionReceiptV1
impl<'de> Deserialize<'de> for PromotionDecisionReceiptV1
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 StructuralPartialEq for PromotionDecisionReceiptV1
Auto Trait Implementations§
impl Freeze for PromotionDecisionReceiptV1
impl RefUnwindSafe for PromotionDecisionReceiptV1
impl Send for PromotionDecisionReceiptV1
impl Sync for PromotionDecisionReceiptV1
impl Unpin for PromotionDecisionReceiptV1
impl UnsafeUnpin for PromotionDecisionReceiptV1
impl UnwindSafe for PromotionDecisionReceiptV1
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