pub struct ContainmentEvent {
pub blocked_at: String,
pub cleared_at: String,
pub git_sha: Option<String>,
pub blocked_counts: ImpactCounts,
}Expand description
A commit-gate containment event recorded by fallow impact.
Fields§
§blocked_at: StringTimestamp when the commit gate blocked the commit.
cleared_at: StringTimestamp when a later run passed clean.
git_sha: Option<String>Abbreviated SHA of the cleared commit, when in a git repo.
blocked_counts: ImpactCountsFinding counts at the moment the gate blocked.
Trait Implementations§
Source§impl Clone for ContainmentEvent
impl Clone for ContainmentEvent
Source§impl Debug for ContainmentEvent
impl Debug for ContainmentEvent
Source§impl<'de> Deserialize<'de> for ContainmentEvent
impl<'de> Deserialize<'de> for ContainmentEvent
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
Auto Trait Implementations§
impl Freeze for ContainmentEvent
impl RefUnwindSafe for ContainmentEvent
impl Send for ContainmentEvent
impl Sync for ContainmentEvent
impl Unpin for ContainmentEvent
impl UnsafeUnpin for ContainmentEvent
impl UnwindSafe for ContainmentEvent
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