pub struct GeRelease {
pub tag_name: String,
pub assets: Vec<GeAsset>,
}
Expand description
Represents a GitHub API release.
Only the tag_name
and assets
of the release are relevant for us. Too see the APIs from which this struct is
constructed from see the documentation of GeDownloader::fetch_release
.
Fields§
§tag_name: String
§assets: Vec<GeAsset>
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for GeRelease
impl<'de> Deserialize<'de> for GeRelease
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for GeRelease
impl RefUnwindSafe for GeRelease
impl Send for GeRelease
impl Sync for GeRelease
impl Unpin for GeRelease
impl UnwindSafe for GeRelease
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