pub struct PrView {
pub number: i64,
pub url: String,
pub title: String,
pub head_ref_name: String,
pub base_ref_name: String,
pub state: String,
pub closing_issues_references: Vec<IssueRef>,
pub is_cross_repository: bool,
}Fields§
§number: i64§url: String§title: String§head_ref_name: String§base_ref_name: String§state: String§closing_issues_references: Vec<IssueRef>§is_cross_repository: boolTrue when the PR’s head branch lives on a fork rather than this repository.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PrView
impl<'de> Deserialize<'de> for PrView
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for PrView
impl RefUnwindSafe for PrView
impl Send for PrView
impl Sync for PrView
impl Unpin for PrView
impl UnsafeUnpin for PrView
impl UnwindSafe for PrView
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