pub struct DeviationExtended {
pub download: Option<Download>,
pub description: Option<String>,
pub additional_media: Option<Vec<AdditionalMedia>>,
pub parent_deviation_entity_id: u64,
pub unknown: HashMap<String, Value>,
}Expand description
Extended Info about a deviation
Fields§
§download: Option<Download>Download info
description: Option<String>HTML description
additional_media: Option<Vec<AdditionalMedia>>Other media for this deviation
parent_deviation_entity_id: u64The id of the deviation this belongs to.
unknown: HashMap<String, Value>Unknown data
Implementations§
Source§impl DeviationExtended
impl DeviationExtended
Sourcepub fn can_download_additional_media(&self) -> bool
pub fn can_download_additional_media(&self) -> bool
Check if additional media is downloadable.
Older additionalMedia deviation images can be downloaded. Newer ones cannot.
See: https://github.com/mikf/gallery-dl/issues/6653#issuecomment-2816585744
Trait Implementations§
Source§impl Debug for DeviationExtended
impl Debug for DeviationExtended
Source§impl<'de> Deserialize<'de> for DeviationExtended
impl<'de> Deserialize<'de> for DeviationExtended
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 DeviationExtended
impl RefUnwindSafe for DeviationExtended
impl Send for DeviationExtended
impl Sync for DeviationExtended
impl Unpin for DeviationExtended
impl UnwindSafe for DeviationExtended
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