Struct octocrab::repos::releases::GenerateReleaseNotesBuilder
source · pub struct GenerateReleaseNotesBuilder<'octo, 'repos, 'handler, 'tag_name, 'previous_tag_name, 'target_commitish, 'configuration_file_path> { /* private fields */ }
Expand description
A builder pattern struct for updating releases.
created by ReleasesHandler::generate_release_notes
.
Implementations§
source§impl<'octo, 'repos, 'handler, 'tag_name, 'previous_tag_name, 'target_commitish, 'configuration_file_path> GenerateReleaseNotesBuilder<'octo, 'repos, 'handler, 'tag_name, 'previous_tag_name, 'target_commitish, 'configuration_file_path>
impl<'octo, 'repos, 'handler, 'tag_name, 'previous_tag_name, 'target_commitish, 'configuration_file_path> GenerateReleaseNotesBuilder<'octo, 'repos, 'handler, 'tag_name, 'previous_tag_name, 'target_commitish, 'configuration_file_path>
sourcepub fn previous_tag_name(
self,
previous_tag_name: &'previous_tag_name (impl AsRef<str> + ?Sized)
) -> Self
pub fn previous_tag_name( self, previous_tag_name: &'previous_tag_name (impl AsRef<str> + ?Sized) ) -> Self
The tag which is used as a starting point for the release notes.
sourcepub fn target_commitish(
self,
target_commitish: &'target_commitish (impl AsRef<str> + ?Sized)
) -> Self
pub fn target_commitish( self, target_commitish: &'target_commitish (impl AsRef<str> + ?Sized) ) -> Self
Specifies the commitish value that determines where the Git tag is
created from. Can be any branch or commit SHA.
Unused if the Git GenerateReleaseNotesBuilder::tag_name
exists.
sourcepub fn configuration_file_path(
self,
configuration_file_path: &'configuration_file_path (impl AsRef<str> + ?Sized)
) -> Self
pub fn configuration_file_path( self, configuration_file_path: &'configuration_file_path (impl AsRef<str> + ?Sized) ) -> Self
A file path within the repository which contains the configuration settings for generating release notes.
sourcepub async fn send(self) -> Result<ReleaseNotes>
pub async fn send(self) -> Result<ReleaseNotes>
Sends the actual request.
Trait Implementations§
source§impl<'octo, 'repos, 'handler, 'tag_name, 'previous_tag_name, 'target_commitish, 'configuration_file_path> Serialize for GenerateReleaseNotesBuilder<'octo, 'repos, 'handler, 'tag_name, 'previous_tag_name, 'target_commitish, 'configuration_file_path>
impl<'octo, 'repos, 'handler, 'tag_name, 'previous_tag_name, 'target_commitish, 'configuration_file_path> Serialize for GenerateReleaseNotesBuilder<'octo, 'repos, 'handler, 'tag_name, 'previous_tag_name, 'target_commitish, 'configuration_file_path>
Auto Trait Implementations§
impl<'octo, 'repos, 'handler, 'tag_name, 'previous_tag_name, 'target_commitish, 'configuration_file_path> Freeze for GenerateReleaseNotesBuilder<'octo, 'repos, 'handler, 'tag_name, 'previous_tag_name, 'target_commitish, 'configuration_file_path>
impl<'octo, 'repos, 'handler, 'tag_name, 'previous_tag_name, 'target_commitish, 'configuration_file_path> !RefUnwindSafe for GenerateReleaseNotesBuilder<'octo, 'repos, 'handler, 'tag_name, 'previous_tag_name, 'target_commitish, 'configuration_file_path>
impl<'octo, 'repos, 'handler, 'tag_name, 'previous_tag_name, 'target_commitish, 'configuration_file_path> Send for GenerateReleaseNotesBuilder<'octo, 'repos, 'handler, 'tag_name, 'previous_tag_name, 'target_commitish, 'configuration_file_path>
impl<'octo, 'repos, 'handler, 'tag_name, 'previous_tag_name, 'target_commitish, 'configuration_file_path> Sync for GenerateReleaseNotesBuilder<'octo, 'repos, 'handler, 'tag_name, 'previous_tag_name, 'target_commitish, 'configuration_file_path>
impl<'octo, 'repos, 'handler, 'tag_name, 'previous_tag_name, 'target_commitish, 'configuration_file_path> Unpin for GenerateReleaseNotesBuilder<'octo, 'repos, 'handler, 'tag_name, 'previous_tag_name, 'target_commitish, 'configuration_file_path>
impl<'octo, 'repos, 'handler, 'tag_name, 'previous_tag_name, 'target_commitish, 'configuration_file_path> !UnwindSafe for GenerateReleaseNotesBuilder<'octo, 'repos, 'handler, 'tag_name, 'previous_tag_name, 'target_commitish, 'configuration_file_path>
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