pub struct ReposGenerateReleaseNotesRequest {
pub tag_name: String,
pub target_commitish: Option<String>,
pub previous_tag_name: Option<String>,
pub configuration_file_path: Option<String>,
}
Fields§
§tag_name: String
The tag name for the release. This can be an existing tag or a new one.
target_commitish: Option<String>
Specifies the commitish value that will be the target for the release’s tag. Required if the supplied tag_name does not reference an existing tag. Ignored if the tag_name already exists.
previous_tag_name: Option<String>
The name of the previous tag to use as the starting point for the release notes. Use to manually specify the range for the set of changes considered as part this release.
configuration_file_path: Option<String>
Specifies a path to a file in the repository containing configuration settings used for generating the release notes. If unspecified, the configuration file located in the repository at ‘.github/release.yml’ or ‘.github/release.yaml’ will be used. If that is not present, the default configuration will be used.
Implementations§
Source§impl ReposGenerateReleaseNotesRequest
impl ReposGenerateReleaseNotesRequest
pub fn new(tag_name: String) -> ReposGenerateReleaseNotesRequest
Trait Implementations§
Source§impl Clone for ReposGenerateReleaseNotesRequest
impl Clone for ReposGenerateReleaseNotesRequest
Source§fn clone(&self) -> ReposGenerateReleaseNotesRequest
fn clone(&self) -> ReposGenerateReleaseNotesRequest
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Default for ReposGenerateReleaseNotesRequest
impl Default for ReposGenerateReleaseNotesRequest
Source§fn default() -> ReposGenerateReleaseNotesRequest
fn default() -> ReposGenerateReleaseNotesRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ReposGenerateReleaseNotesRequest
impl<'de> Deserialize<'de> for ReposGenerateReleaseNotesRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ReposGenerateReleaseNotesRequest
impl PartialEq for ReposGenerateReleaseNotesRequest
Source§fn eq(&self, other: &ReposGenerateReleaseNotesRequest) -> bool
fn eq(&self, other: &ReposGenerateReleaseNotesRequest) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for ReposGenerateReleaseNotesRequest
Auto Trait Implementations§
impl Freeze for ReposGenerateReleaseNotesRequest
impl RefUnwindSafe for ReposGenerateReleaseNotesRequest
impl Send for ReposGenerateReleaseNotesRequest
impl Sync for ReposGenerateReleaseNotesRequest
impl Unpin for ReposGenerateReleaseNotesRequest
impl UnwindSafe for ReposGenerateReleaseNotesRequest
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