Struct octocrab::repos::CreateGitCommitObjectBuilder
source · pub struct CreateGitCommitObjectBuilder<'octo, 'req> { /* private fields */ }
Implementations§
source§impl<'octo, 'req> CreateGitCommitObjectBuilder<'octo, 'req>
impl<'octo, 'req> CreateGitCommitObjectBuilder<'octo, 'req>
The author of the commit.
sourcepub fn committer(self, committer: impl Into<CommitAuthor>) -> Self
pub fn committer(self, committer: impl Into<CommitAuthor>) -> Self
The committer of the commit.
sourcepub async fn send(&self) -> Result<GitCommitObject>
pub async fn send(&self) -> Result<GitCommitObject>
Sends the request
Trait Implementations§
Auto Trait Implementations§
impl<'octo, 'req> Freeze for CreateGitCommitObjectBuilder<'octo, 'req>
impl<'octo, 'req> !RefUnwindSafe for CreateGitCommitObjectBuilder<'octo, 'req>
impl<'octo, 'req> Send for CreateGitCommitObjectBuilder<'octo, 'req>
impl<'octo, 'req> Sync for CreateGitCommitObjectBuilder<'octo, 'req>
impl<'octo, 'req> Unpin for CreateGitCommitObjectBuilder<'octo, 'req>
impl<'octo, 'req> !UnwindSafe for CreateGitCommitObjectBuilder<'octo, 'req>
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