pub struct PrStatus {
pub state: String,
pub number: u32,
pub url: Option<String>,
}Expand description
PR status as returned by the GitHub CLI.
Fields§
§state: StringPR state string (e.g., "OPEN", "MERGED", "CLOSED").
number: u32PR number in the repository.
url: Option<String>PR URL (only populated by some queries).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PrStatus
impl<'de> Deserialize<'de> for PrStatus
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 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