pub struct RsGroupDownload {
pub group: bool,
pub group_thumbnail_url: Option<String>,
pub group_filename: Option<String>,
pub group_mime: Option<String>,
pub requests: Vec<RsRequest>,
}Expand description
Groups multiple download requests together, optionally combining them into a single media item
Fields§
§group: boolIf true, all requests will be grouped into a single media item (album)
group_thumbnail_url: Option<String>§group_filename: Option<String>§group_mime: Option<String>§requests: Vec<RsRequest>Trait Implementations§
Source§impl Clone for RsGroupDownload
impl Clone for RsGroupDownload
Source§fn clone(&self) -> RsGroupDownload
fn clone(&self) -> RsGroupDownload
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RsGroupDownload
impl Debug for RsGroupDownload
Source§impl Default for RsGroupDownload
impl Default for RsGroupDownload
Source§fn default() -> RsGroupDownload
fn default() -> RsGroupDownload
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RsGroupDownload
impl<'de> Deserialize<'de> for RsGroupDownload
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
Source§impl PartialEq for RsGroupDownload
impl PartialEq for RsGroupDownload
Source§impl Serialize for RsGroupDownload
impl Serialize for RsGroupDownload
impl StructuralPartialEq for RsGroupDownload
Auto Trait Implementations§
impl Freeze for RsGroupDownload
impl RefUnwindSafe for RsGroupDownload
impl Send for RsGroupDownload
impl Sync for RsGroupDownload
impl Unpin for RsGroupDownload
impl UnwindSafe for RsGroupDownload
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