pub struct ListPullRequestsAssociatedWithACommit<'a> {
pub owner: &'a str,
pub repo: &'a str,
pub commit_sha: &'a str,
pub per_page: Option<u8>,
pub page: Option<u16>,
}
Expand description
Fields
owner: &'a str
repo: &'a str
commit_sha: &'a str
per_page: Option<u8>
page: Option<u16>
Implementations
sourceimpl<'a> ListPullRequestsAssociatedWithACommit<'a>
impl<'a> ListPullRequestsAssociatedWithACommit<'a>
sourcepub fn new(owner: &'a str, repo: &'a str, commit_sha: &'a str) -> Self
pub fn new(owner: &'a str, repo: &'a str, commit_sha: &'a str) -> Self
Build a ListPullRequestsAssociatedWithACommit
instance.
sourcepub fn commit_sha(self, commit_sha: &'a str) -> Self
pub fn commit_sha(self, commit_sha: &'a str) -> Self
Set a new commit_sha
.
Trait Implementations
sourceimpl<'a> Api for ListPullRequestsAssociatedWithACommit<'a>
impl<'a> Api for ListPullRequestsAssociatedWithACommit<'a>
sourceimpl<'a> ApiExt for ListPullRequestsAssociatedWithACommit<'a>
impl<'a> ApiExt for ListPullRequestsAssociatedWithACommit<'a>
sourceimpl<'a> Clone for ListPullRequestsAssociatedWithACommit<'a>
impl<'a> Clone for ListPullRequestsAssociatedWithACommit<'a>
sourcefn clone(&self) -> ListPullRequestsAssociatedWithACommit<'a>
fn clone(&self) -> ListPullRequestsAssociatedWithACommit<'a>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl<'a> Debug for ListPullRequestsAssociatedWithACommit<'a>
impl<'a> Debug for ListPullRequestsAssociatedWithACommit<'a>
sourceimpl<'a> PartialEq<ListPullRequestsAssociatedWithACommit<'a>> for ListPullRequestsAssociatedWithACommit<'a>
impl<'a> PartialEq<ListPullRequestsAssociatedWithACommit<'a>> for ListPullRequestsAssociatedWithACommit<'a>
sourcefn eq(&self, other: &ListPullRequestsAssociatedWithACommit<'a>) -> bool
fn eq(&self, other: &ListPullRequestsAssociatedWithACommit<'a>) -> bool
impl<'a> Eq for ListPullRequestsAssociatedWithACommit<'a>
impl<'a> StructuralEq for ListPullRequestsAssociatedWithACommit<'a>
impl<'a> StructuralPartialEq for ListPullRequestsAssociatedWithACommit<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for ListPullRequestsAssociatedWithACommit<'a>
impl<'a> Send for ListPullRequestsAssociatedWithACommit<'a>
impl<'a> Sync for ListPullRequestsAssociatedWithACommit<'a>
impl<'a> Unpin for ListPullRequestsAssociatedWithACommit<'a>
impl<'a> UnwindSafe for ListPullRequestsAssociatedWithACommit<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more