pub struct Release {
pub name: String,
pub tag: Option<String>,
pub url: String,
}Expand description
this is what get_latests return
Fields§
§name: Stringname of the package
tag: Option<String>version of the package
url: Stringurl to the version’s source
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§
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