pub struct Insight {
pub key: String,
pub severity: Severity,
pub repository: String,
pub workflow: Option<String>,
pub job: Option<String>,
pub sentence: String,
pub kind: InsightKind,
pub runs: Vec<RunLink>,
}Expand description
One thing the history says, about one job or one repository.
Fields§
§key: StringThe same while it holds, such as slower:halyard/api/CI/test.
severity: SeverityHow much it matters.
repository: Stringowner/name.
workflow: Option<String>The workflow’s name; None for a repository’s waits, or when unknown.
job: Option<String>The job’s name; None for a repository’s waits.
sentence: StringWhat it is, in one line.
kind: InsightKindWhat it is, with its figures.
runs: Vec<RunLink>The runs that show it, newest first, at most 5.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Insight
impl<'de> Deserialize<'de> for Insight
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 Insight
impl StructuralPartialEq for Insight
Auto Trait Implementations§
impl Freeze for Insight
impl RefUnwindSafe for Insight
impl Send for Insight
impl Sync for Insight
impl Unpin for Insight
impl UnsafeUnpin for Insight
impl UnwindSafe for Insight
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.