pub struct ReposUpdateReleaseRequest {
pub tag_name: Option<String>,
pub target_commitish: Option<String>,
pub name: Option<String>,
pub body: Option<String>,
pub draft: Option<bool>,
pub prerelease: Option<bool>,
pub make_latest: Option<MakeLatest>,
pub discussion_category_name: Option<String>,
}
Fields§
§tag_name: Option<String>
The name of the tag.
target_commitish: Option<String>
Specifies the commitish value that determines where the Git tag is created from. Can be any branch or commit SHA. Unused if the Git tag already exists. Default: the repository’s default branch.
name: Option<String>
The name of the release.
body: Option<String>
Text describing the contents of the tag.
draft: Option<bool>
true
makes the release a draft, and false
publishes the release.
prerelease: Option<bool>
true
to identify the release as a prerelease, false
to identify the release as a full release.
make_latest: Option<MakeLatest>
Specifies whether this release should be set as the latest release for the repository. Drafts and prereleases cannot be set as latest. Defaults to true
for newly published releases. legacy
specifies that the latest release should be determined based on the release creation date and higher semantic version.
discussion_category_name: Option<String>
If specified, a discussion of the specified category is created and linked to the release. The value must be a category that already exists in the repository. If there is already a discussion linked to the release, this parameter is ignored. For more information, see "Managing categories for discussions in your repository."
Implementations§
Source§impl ReposUpdateReleaseRequest
impl ReposUpdateReleaseRequest
pub fn new() -> ReposUpdateReleaseRequest
Trait Implementations§
Source§impl Clone for ReposUpdateReleaseRequest
impl Clone for ReposUpdateReleaseRequest
Source§fn clone(&self) -> ReposUpdateReleaseRequest
fn clone(&self) -> ReposUpdateReleaseRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more