pub struct PrThreads {
pub repo: Repo,
pub number: u64,
pub head_ref: String,
pub head_oid: String,
pub base_oid: String,
pub head_repo: Option<Repo>,
pub unreadable: usize,
/* private fields */
}Expand description
A PR with every review thread, and its reviews and conversation comments when they were asked for.
Fields§
§repo: Repo§number: u64§head_ref: String§head_oid: String§base_oid: StringThe base branch’s head, from which the merge base is found.
head_repo: Option<Repo>§unreadable: usizeComments left out because GitHub sent neither their ID nor a URL that holds it. A thread whose first comment is one of them is left out whole, since that comment’s ID is the thread’s handle.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PrThreads
impl RefUnwindSafe for PrThreads
impl Send for PrThreads
impl Sync for PrThreads
impl Unpin for PrThreads
impl UnsafeUnpin for PrThreads
impl UnwindSafe for PrThreads
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