Struct octorust::types::ReposUpdateReleaseRequest[][src]

pub struct ReposUpdateReleaseRequest {
    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. 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: Option<bool>

true makes the release a draft, and false publishes the release.

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

The name of the generated JSON Schema. Read more

Generates a JSON Schema for this type. Read more

Whether JSON Schemas generated for this type should be re-used where possible using the $ref keyword. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.