pub struct Check {
pub identifier: String,
pub status: CiStatus,
pub summary: Option<String>,
pub link: Option<String>,
pub started: Option<i64>,
pub ended: Option<i64>,
pub reported_by: Option<Principal>,
}Expand description
A status check reported against a pull request’s head commit.
Reuses crate::CiStatus — a check status is a CI status, and the same
open-set reasoning applies: GitFox lists error, failure, pending,
running and success today, and this keeps whichever word arrives.
Fields§
§identifier: String§status: CiStatus§summary: Option<String>§link: Option<String>§started: Option<i64>§ended: Option<i64>§reported_by: Option<Principal>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Check
impl<'de> Deserialize<'de> for Check
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 Forget for Check
impl Freeze for Check
impl RefUnwindSafe for Check
impl Send for Check
impl Sync for Check
impl Unpin for Check
impl UnsafeUnpin for Check
impl UnwindSafe for Check
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