pub struct Release {
pub id: String,
pub draft: bool,
pub assets: Vec<Asset>,
}Expand description
The release of one tag.
Fields§
§id: StringThe forge’s handle for it: the numeric id on GitHub, the tag on GitLab.
draft: boolWhether it is an unpublished draft.
assets: Vec<Asset>Every asset or link it carries.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Release
impl Freeze for Release
impl Move for Release
impl RefUnwindSafe for Release
impl Send for Release
impl Sync for Release
impl Unpin for Release
impl UnsafeUnpin for Release
impl UnwindSafe for Release
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