pub struct ProductDownload {
pub items: Vec<DownloadInfo>,
}Fields§
§items: Vec<DownloadInfo>Implementations§
Source§impl ProductDownload
impl ProductDownload
pub fn total_size(&self) -> u64
pub fn formats_as_vec(&self) -> Vec<&str>
pub fn formats(&self) -> String
Trait Implementations§
Source§impl Debug for ProductDownload
impl Debug for ProductDownload
Source§impl<'de> Deserialize<'de> for ProductDownload
impl<'de> Deserialize<'de> for ProductDownload
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 ProductDownload
impl RefUnwindSafe for ProductDownload
impl Send for ProductDownload
impl Sync for ProductDownload
impl Unpin for ProductDownload
impl UnwindSafe for ProductDownload
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more