pub struct Release {
pub tag: String,
pub version: Version,
pub assets: Vec<(String, String)>,
}Expand description
One published (non-draft) release of a GitHub repository whose tag is a version.
Fields§
§tag: String§version: Version§assets: Vec<(String, String)>Asset names and their API URLs (which fetch downloads).
Trait Implementations§
Auto Trait Implementations§
impl Freeze 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§
impl<T> Allocation for T
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