Struct octorust::types::ReposUpdateReleaseRequest [−][src]
pub struct ReposUpdateReleaseRequest { pub body: String, pub discussion_category_name: String, pub draft: bool, pub name: String, pub prerelease: bool, pub tag_name: String, pub target_commitish: String, }
Fields
body: String
Text describing the contents of the tag.
discussion_category_name: 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.”
draft: bool
true
makes the release a draft, and false
publishes the release.
name: String
The name of the release.
prerelease: bool
true
to identify the release as a prerelease, false
to identify the release as a full release.
tag_name: String
The name of the tag.
target_commitish: 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 (usually master
).
Trait Implementations
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
Auto Trait Implementations
impl RefUnwindSafe for ReposUpdateReleaseRequest
impl Send for ReposUpdateReleaseRequest
impl Sync for ReposUpdateReleaseRequest
impl Unpin for ReposUpdateReleaseRequest
impl UnwindSafe for ReposUpdateReleaseRequest
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more