pub struct ChatTaskNotice<'a> {
pub id: &'a str,
pub title: &'a str,
pub status: &'a str,
pub reason: Option<&'a str>,
pub run: Option<&'a str>,
pub pr: Option<&'a str>,
pub summary: Option<&'a str>,
}Expand description
What chat_task_notice reports; every field is plain data magi read.
Fields§
§id: &'a strTask id.
title: &'a strTask title.
status: &'a strdone, held or blocked.
reason: Option<&'a str>The hold, block or failure reason, if any.
run: Option<&'a str>The task’s latest run.
pr: Option<&'a str>The pull request the run opened.
summary: Option<&'a str>A short summary of the result.
Auto Trait Implementations§
impl<'a> Freeze for ChatTaskNotice<'a>
impl<'a> RefUnwindSafe for ChatTaskNotice<'a>
impl<'a> Send for ChatTaskNotice<'a>
impl<'a> Sync for ChatTaskNotice<'a>
impl<'a> Unpin for ChatTaskNotice<'a>
impl<'a> UnsafeUnpin for ChatTaskNotice<'a>
impl<'a> UnwindSafe for ChatTaskNotice<'a>
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more