pub struct Header {
pub id: String,
pub status: String,
pub tone: Tone,
pub unmerged_by_design: bool,
pub needs_attention: bool,
pub repo: String,
pub base_branch: String,
pub base_commit: String,
pub created: String,
pub task: String,
pub origin: String,
pub state_dir: String,
}Expand description
The top block.
Fields§
§id: StringRun id.
status: StringRunStatus::display_label.
tone: ToneStatus as a tone; a stalled run is never ok.
unmerged_by_design: boolLanded nothing, and that was the configuration.
needs_attention: boolA release step needs a person.
repo: StringRepository path.
base_branch: StringBase branch.
base_commit: StringBase commit, abbreviated.
created: StringCreation time, local.
task: StringFirst line of the task.
origin: StringWhere the task came from.
state_dir: StringThe run’s state directory.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Header
impl RefUnwindSafe for Header
impl Send for Header
impl Sync for Header
impl Unpin for Header
impl UnsafeUnpin for Header
impl UnwindSafe for Header
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