pub struct CreateReleaseParams {
pub owner: String,
pub repo: String,
pub tag_name: String,
pub name: String,
pub body: String,
pub draft: bool,
pub prerelease: bool,
pub generate_release_notes: bool,
pub make_latest: Option<String>,
}Expand description
Parameters for creating a GitHub release.
Fields§
§owner: String§repo: String§tag_name: String§name: String§body: String§draft: bool§prerelease: bool§generate_release_notes: bool§make_latest: Option<String>Trait Implementations§
Source§impl Clone for CreateReleaseParams
impl Clone for CreateReleaseParams
Source§fn clone(&self) -> CreateReleaseParams
fn clone(&self) -> CreateReleaseParams
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for CreateReleaseParams
impl RefUnwindSafe for CreateReleaseParams
impl Send for CreateReleaseParams
impl Sync for CreateReleaseParams
impl Unpin for CreateReleaseParams
impl UnsafeUnpin for CreateReleaseParams
impl UnwindSafe for CreateReleaseParams
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