pub struct PromotionHistoryEntry {
pub rule_id: String,
pub source_scope: RuleScope,
pub target_scope: RuleScope,
pub promoted_at: DateTime<Utc>,
pub approved: bool,
pub reason: Option<String>,
}Expand description
Promotion history entry
Fields§
§rule_id: StringRule ID
source_scope: RuleScopeSource scope
target_scope: RuleScopeTarget scope
promoted_at: DateTime<Utc>When the promotion occurred
approved: boolWhether it was approved
reason: Option<String>Reason for approval or rejection
Trait Implementations§
Source§impl Clone for PromotionHistoryEntry
impl Clone for PromotionHistoryEntry
Source§fn clone(&self) -> PromotionHistoryEntry
fn clone(&self) -> PromotionHistoryEntry
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 moreAuto Trait Implementations§
impl Freeze for PromotionHistoryEntry
impl RefUnwindSafe for PromotionHistoryEntry
impl Send for PromotionHistoryEntry
impl Sync for PromotionHistoryEntry
impl Unpin for PromotionHistoryEntry
impl UnwindSafe for PromotionHistoryEntry
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