pub struct PrStatus {Show 20 fields
pub repo: String,
pub forge: Option<&'static str>,
pub host: Option<String>,
pub number: u64,
pub title: String,
pub url: String,
pub state: State,
pub base: String,
pub head: String,
pub head_sha: String,
pub head_oid: String,
pub pushed_at: Option<String>,
pub mergeable: Mergeability,
pub merge_state: String,
pub checks: Checks,
pub review: Option<String>,
pub unresolved_threads: u32,
pub auto_merge: bool,
pub entire: Option<EntireStatus>,
pub attention: Vec<Attention>,
}Fields§
§repo: String§forge: Option<&'static str>gitlab or forgejo for a PR that is not on GitHub.
host: Option<String>The host of a PR that is not on GitHub, as in Repo::host.
number: u64§title: String§url: String§state: State§base: String§head: String§head_sha: String§head_oid: StringThe whole head SHA, which the merge and update-branch endpoints take as a guard against a push in between.
pushed_at: Option<String>§mergeable: Mergeability§merge_state: String§checks: Checks§review: Option<String>GitHub’s review decision, lowercased: approved,
changes_requested or review_required.
unresolved_threads: u32§auto_merge: bool§entire: Option<EntireStatus>The Entire Gates check on the head, when there is one.
attention: Vec<Attention>Implementations§
Trait Implementations§
impl Eq for PrStatus
impl StructuralPartialEq for PrStatus
Auto Trait Implementations§
impl Forget for PrStatus
impl Freeze for PrStatus
impl RefUnwindSafe for PrStatus
impl Send for PrStatus
impl Sync for PrStatus
impl Unpin for PrStatus
impl UnsafeUnpin for PrStatus
impl UnwindSafe for PrStatus
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