pub struct Check {
pub name: String,
pub state: CheckState,
pub url: Option<String>,
pub job: Option<String>,
pub started: Option<u64>,
pub finished: Option<u64>,
pub cancelled: bool,
}Expand description
A check or a status of a pull request’s last commit (a CI job).
Fields§
§name: String§state: CheckState§url: Option<String>§job: Option<String>What Forge::job_log asks for, when the host keeps its log.
started: Option<u64>When it started (seconds since 1970), when the host says it: a pending one that started is running, the others wait.
finished: Option<u64>When it ended, when the host says it.
cancelled: boolStopped before its end: a failure to the rest of Escouade, cancelled to the window.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Check
impl<'de> Deserialize<'de> for Check
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<Check, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<Check, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for Check
impl Serialize for Check
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for Check
Auto Trait Implementations§
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