pub struct Entire { /* private fields */ }Expand description
The entire CLI, found and logged in.
Implementations§
Source§impl Entire
impl Entire
Sourcepub fn probe() -> Result<Self, String>
pub fn probe() -> Result<Self, String>
entire, if it is on PATH and logged in; otherwise why not, in words
fit for entire: {available: false, reason}.
Sourcepub fn trail(
&self,
repo: &Repo,
linked: Option<u64>,
branch: &str,
) -> Result<Option<Trail>, String>
pub fn trail( &self, repo: &Repo, linked: Option<u64>, branch: &str, ) -> Result<Option<Trail>, String>
The trail for a PR: the one the gates check links to when there is
one, else the one tracking the head branch (or, once merged, the one
that tracked it). None when no trail does.
Sourcepub fn findings(
&self,
repo: &Repo,
trail: u64,
all: bool,
) -> Result<Findings, String>
pub fn findings( &self, repo: &Repo, trail: u64, all: bool, ) -> Result<Findings, String>
A trail’s findings: open and current ones, or with all every one,
resolved, dismissed and stale included.
Sourcepub fn change(
&self,
repo: &Repo,
trail: u64,
id: &str,
change: Change,
message: Option<&str>,
) -> Result<(), String>
pub fn change( &self, repo: &Repo, trail: u64, id: &str, change: Change, message: Option<&str>, ) -> Result<(), String>
Resolves, dismisses or reopens a finding, recording message as the
reason.
Auto Trait Implementations§
impl !Freeze for Entire
impl RefUnwindSafe for Entire
impl Send for Entire
impl Sync for Entire
impl Unpin for Entire
impl UnsafeUnpin for Entire
impl UnwindSafe for Entire
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