Struct octocrab::commits::CommitHandler
source · pub struct CommitHandler<'octo> { /* private fields */ }
Implementations§
source§impl<'octo> CommitHandler<'octo>
impl<'octo> CommitHandler<'octo>
pub fn compare( &self, base: impl Into<String>, head: impl Into<String> ) -> CompareCommitsBuilder<'_, '_>
pub fn associated_check_runs( &self, reference: impl Into<Reference> ) -> AssociatedCheckRunsBuilder<'_, '_>
pub fn associated_pull_requests( &self, target: PullRequestTarget ) -> AssociatedPullRequestsBuilder<'_, '_>
pub fn create_comment( &self, sha: impl Into<String>, body: impl Into<String> ) -> CreateCommentBuilder<'_, '_>
pub async fn get(&self, reference: impl Into<String>) -> Result<RepoCommit>
Auto Trait Implementations§
impl<'octo> Freeze for CommitHandler<'octo>
impl<'octo> !RefUnwindSafe for CommitHandler<'octo>
impl<'octo> Send for CommitHandler<'octo>
impl<'octo> Sync for CommitHandler<'octo>
impl<'octo> Unpin for CommitHandler<'octo>
impl<'octo> !UnwindSafe for CommitHandler<'octo>
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