pub struct Report {
pub schema: &'static str,
pub state: &'static str,
pub request: u64,
pub version: Option<String>,
pub trunk: String,
pub base: String,
pub head: String,
pub check: Option<String>,
pub check_state: String,
pub correlation: Option<String>,
pub run: Option<String>,
pub merge_commit: Option<String>,
}Expand description
The report: what the verb read, and under --apply what the run did.
Fields§
§schema: &'static strThe schema this document follows.
state: &'static strpreview, or under --apply merged.
request: u64The release request, by number.
version: Option<String>The version the request proposes, where its title names one.
trunk: StringThe trunk.
base: StringThe trunk tip the merge expects.
head: StringThe request head the merge expects.
check: Option<String>The required check, on GitHub; GitLab judges the whole pipeline.
check_state: StringWhat the check or the pipeline reads for the head.
correlation: Option<String>The correlation the dispatch carried, under --apply.
run: Option<String>The run or pipeline that merged, under --apply.
merge_commit: Option<String>The commit the merge wrote on the trunk, where the forge names it.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Report
impl Freeze for Report
impl Move for Report
impl RefUnwindSafe for Report
impl Send for Report
impl Sync for Report
impl Unpin for Report
impl UnsafeUnpin for Report
impl UnwindSafe for Report
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