pub struct Release {
pub tag: String,
pub assets: Vec<AssetSpec>,
}Expand description
A very specific set of assets on GitHub, presumed to contain an SB2.1 firmware file and a corresponding SHA-256 digest of the contents.
Fields§
§tag: String§assets: Vec<AssetSpec>Implementations§
Source§impl Release
impl Release
pub fn fetch_spec() -> Result<Self>
pub fn fetch_hash(&self) -> Result<String>
pub fn fetch_firmware(&self) -> Result<Firmware>
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<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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