pub struct CanaryClearance {
pub tenant: String,
pub environment: EnvironmentTag,
pub cleared_revision_id: RevisionId,
pub author: ProvenanceAuthor,
pub cleared_at: DateTime<Utc>,
}Expand description
A canary was cleared without graduating: the journaled payload of a
crate::record::RunEventKind::CanaryCleared event, and the move
DeploymentPointer::cleared_canary applies. Naming the cleared
revision is the point — a bare “slot emptied” would leave the
experiment’s end unattributable.
Fields§
§tenant: StringThe tenant the clearance governs.
environment: EnvironmentTagThe environment clearing its canary.
cleared_revision_id: RevisionIdThe revision the canary slot held.
Who cleared the canary (human:{id}).
cleared_at: DateTime<Utc>When the clearance journaled.
Trait Implementations§
Source§impl Clone for CanaryClearance
impl Clone for CanaryClearance
Source§impl Debug for CanaryClearance
impl Debug for CanaryClearance
Source§impl<'de> Deserialize<'de> for CanaryClearance
impl<'de> Deserialize<'de> for CanaryClearance
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 PartialEq for CanaryClearance
impl PartialEq for CanaryClearance
Source§impl Serialize for CanaryClearance
impl Serialize for CanaryClearance
impl StructuralPartialEq for CanaryClearance
Auto Trait Implementations§
impl Freeze for CanaryClearance
impl RefUnwindSafe for CanaryClearance
impl Send for CanaryClearance
impl Sync for CanaryClearance
impl Unpin for CanaryClearance
impl UnsafeUnpin for CanaryClearance
impl UnwindSafe for CanaryClearance
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