pub struct DraftRelease<'a> {
pub tag_name: &'a str,
pub target_commitish: &'a str,
pub name: &'a str,
pub body: &'a str,
pub draft: bool,
pub prerelease: bool,
}Expand description
The body that creates a draft release.
Fields§
§tag_name: &'a strThe tag the release is for.
target_commitish: &'a strThe commit the tag points at.
name: &'a strThe title.
body: &'a strThe release notes.
draft: boolAlways true.
prerelease: boolAlways false.
Implementations§
Trait Implementations§
Source§impl<'a> Debug for DraftRelease<'a>
impl<'a> Debug for DraftRelease<'a>
Auto Trait Implementations§
impl<'a> Freeze for DraftRelease<'a>
impl<'a> RefUnwindSafe for DraftRelease<'a>
impl<'a> Send for DraftRelease<'a>
impl<'a> Sync for DraftRelease<'a>
impl<'a> Unpin for DraftRelease<'a>
impl<'a> UnsafeUnpin for DraftRelease<'a>
impl<'a> UnwindSafe for DraftRelease<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more