pub struct PrInfo {
pub number: u64,
pub title: String,
pub url: String,
pub state: PrState,
pub base_branch: String,
}Expand description
Information about a PR associated with a branch
Fields§
§number: u64PR number
title: StringPR title
url: StringPR URL
state: PrStatePR state
base_branch: StringBase branch (e.g., “main”)
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PrInfo
impl RefUnwindSafe for PrInfo
impl Send for PrInfo
impl Sync for PrInfo
impl Unpin for PrInfo
impl UnwindSafe for PrInfo
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