[][src]Struct credit::PR

pub struct PR {
    pub thread: Thread,
    pub commits: usize,
    pub merged: Option<DateTime<Utc>>,
}

A Github Pull Request.

Fields

thread: Threadcommits: usizemerged: Option<DateTime<Utc>>

Implementations

impl PR[src]

pub fn is_merged(&self) -> bool[src]

Was this Pull Request merged?

pub fn is_closed_not_merged(&self) -> bool[src]

Was this Pull Request closed without merging?

Trait Implementations

impl Debug for PR[src]

Auto Trait Implementations

impl RefUnwindSafe for PR

impl Send for PR

impl Sync for PR

impl Unpin for PR

impl UnwindSafe for PR

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> WithSubscriber for T[src]