pub struct CreateRelease {
pub tag: String,
pub title: Option<String>,
pub notes: Option<String>,
pub files: Vec<PathBuf>,
}Expand description
Inputs for creating a Github release.
Fields§
§tag: StringTag to create the release for. This tag must already exist
before calling execute.
title: Option<String>Release title.
notes: Option<String>Release notes.
files: Vec<PathBuf>Files to upload and attach to the release.
Trait Implementations§
Source§impl Clone for CreateRelease
impl Clone for CreateRelease
Source§fn clone(&self) -> CreateRelease
fn clone(&self) -> CreateRelease
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CreateRelease
impl Debug for CreateRelease
Source§impl Hash for CreateRelease
impl Hash for CreateRelease
Source§impl Ord for CreateRelease
impl Ord for CreateRelease
Source§fn cmp(&self, other: &CreateRelease) -> Ordering
fn cmp(&self, other: &CreateRelease) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for CreateRelease
impl PartialEq for CreateRelease
Source§impl PartialOrd for CreateRelease
impl PartialOrd for CreateRelease
impl Eq for CreateRelease
impl StructuralPartialEq for CreateRelease
Auto Trait Implementations§
impl Freeze for CreateRelease
impl RefUnwindSafe for CreateRelease
impl Send for CreateRelease
impl Sync for CreateRelease
impl Unpin for CreateRelease
impl UnwindSafe for CreateRelease
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