pub struct GeAsset {
pub name: String,
pub content_type: String,
pub browser_download_url: String,
}
Expand description
An asset of a GitHub release.
This struct contains the URL from which the asset file can be downloaded from. Additionally, it contains the content type of the file and the file name.
Fields§
§name: String
File name of the asset.
content_type: String
§browser_download_url: String
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for GeAsset
impl<'de> Deserialize<'de> for GeAsset
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 GeAsset
impl RefUnwindSafe for GeAsset
impl Send for GeAsset
impl Sync for GeAsset
impl Unpin for GeAsset
impl UnwindSafe for GeAsset
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