pub struct ClosedPull { /* private fields */ }Implementations§
Source§impl ClosedPull
impl ClosedPull
pub fn number(&self) -> u32
pub fn merged_at(&self) -> Option<DateTime<Utc>>
pub fn merge_commit_sha(&self) -> Option<&str>
pub fn body(&self) -> Option<&str>
Sourcepub fn is_merged_into(&self, repo: &str) -> bool
pub fn is_merged_into(&self, repo: &str) -> bool
Whether GitHub reports the pull request merged into this repository.
Trait Implementations§
Source§impl Debug for ClosedPull
impl Debug for ClosedPull
Source§impl<'de> Deserialize<'de> for ClosedPull
impl<'de> Deserialize<'de> for ClosedPull
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 Forget for ClosedPull
impl Freeze for ClosedPull
impl Move for ClosedPull
impl RefUnwindSafe for ClosedPull
impl Send for ClosedPull
impl Sync for ClosedPull
impl Unpin for ClosedPull
impl UnsafeUnpin for ClosedPullwhere
NonZeroI32Inner: UnsafeUnpin,
Utc: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
impl UnwindSafe for ClosedPull
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