Struct octorust::types::ReposCreateReleaseRequest [−][src]
pub struct ReposCreateReleaseRequest { pub body: String, pub discussion_category_name: String, pub draft: Option<bool>, pub name: String, pub prerelease: Option<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. For more information, see “Managing categories for discussions in your repository.”
draft: Option<bool>
true
to create a draft (unpublished) release, false
to create a published one.
name: String
The name of the release.
prerelease: Option<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 ReposCreateReleaseRequest
impl Send for ReposCreateReleaseRequest
impl Sync for ReposCreateReleaseRequest
impl Unpin for ReposCreateReleaseRequest
impl UnwindSafe for ReposCreateReleaseRequest
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more