pub struct PullAuthor {
pub login: String,
pub kind: String,
pub from_fork: bool,
}Expand description
Who opened a pull request, and where its head branch lives.
Fields§
§login: StringThe author’s login.
kind: StringGitHub’s user type: User for a person, Bot for an app.
from_fork: boolThe head branch lives outside the repository: a fork, or a branch that GitHub has dropped. Maintainers push branches to the repository itself.
Trait Implementations§
Source§impl Clone for PullAuthor
impl Clone for PullAuthor
Source§impl Debug for PullAuthor
impl Debug for PullAuthor
impl Eq for PullAuthor
Source§impl PartialEq for PullAuthor
impl PartialEq for PullAuthor
impl StructuralPartialEq for PullAuthor
Auto Trait Implementations§
impl Forget for PullAuthor
impl Freeze for PullAuthor
impl Move for PullAuthor
impl RefUnwindSafe for PullAuthor
impl Send for PullAuthorwhere
RawVecInner: Send,
impl Sync for PullAuthorwhere
RawVecInner: Sync,
impl Unpin for PullAuthor
impl UnsafeUnpin for PullAuthor
impl UnwindSafe for PullAuthorwhere
RawVecInner: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.