Struct roctogen::models::PatchReposUpdateRelease [−][src]
pub struct PatchReposUpdateRelease { 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 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 (usually master
).
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.
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."
Trait Implementations
impl Clone for PatchReposUpdateRelease
[src]
impl Clone for PatchReposUpdateRelease
[src]fn clone(&self) -> PatchReposUpdateRelease
[src]
fn clone(&self) -> PatchReposUpdateRelease
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for PatchReposUpdateRelease
[src]
impl Debug for PatchReposUpdateRelease
[src]impl Default for PatchReposUpdateRelease
[src]
impl Default for PatchReposUpdateRelease
[src]fn default() -> PatchReposUpdateRelease
[src]
fn default() -> PatchReposUpdateRelease
[src]Returns the “default value” for a type. Read more
impl<'de> Deserialize<'de> for PatchReposUpdateRelease
[src]
impl<'de> Deserialize<'de> for PatchReposUpdateRelease
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
impl PartialEq<PatchReposUpdateRelease> for PatchReposUpdateRelease
[src]
impl PartialEq<PatchReposUpdateRelease> for PatchReposUpdateRelease
[src]fn eq(&self, other: &PatchReposUpdateRelease) -> bool
[src]
fn eq(&self, other: &PatchReposUpdateRelease) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &PatchReposUpdateRelease) -> bool
[src]
fn ne(&self, other: &PatchReposUpdateRelease) -> bool
[src]This method tests for !=
.
impl Serialize for PatchReposUpdateRelease
[src]
impl Serialize for PatchReposUpdateRelease
[src]impl StructuralPartialEq for PatchReposUpdateRelease
[src]
Auto Trait Implementations
impl RefUnwindSafe for PatchReposUpdateRelease
impl Send for PatchReposUpdateRelease
impl Sync for PatchReposUpdateRelease
impl Unpin for PatchReposUpdateRelease
impl UnwindSafe for PatchReposUpdateRelease
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,