Struct deviantart::types::scraped_stash_info::ScrapedStashInfo
source · pub struct ScrapedStashInfo {
pub csrf: String,
pub deviationid: u64,
pub film: Option<Film>,
pub deviation_width: u64,
pub deviation_height: u64,
pub unknown: HashMap<String, Value>,
}
Expand description
Scraped info from a sta.sh link
Fields§
§csrf: String
Csrf token
deviationid: u64
?
film: Option<Film>
Present only if it is a video
deviation_width: u64
The width
deviation_height: u64
The height
unknown: HashMap<String, Value>
Unknown data
Implementations§
source§impl ScrapedStashInfo
impl ScrapedStashInfo
sourcepub fn from_html_str(input: &str) -> Result<Self, FromHtmlStrError>
pub fn from_html_str(input: &str) -> Result<Self, FromHtmlStrError>
Parse this from a html str
Trait Implementations§
source§impl Debug for ScrapedStashInfo
impl Debug for ScrapedStashInfo
source§impl<'de> Deserialize<'de> for ScrapedStashInfo
impl<'de> Deserialize<'de> for ScrapedStashInfo
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 ScrapedStashInfo
impl RefUnwindSafe for ScrapedStashInfo
impl Send for ScrapedStashInfo
impl Sync for ScrapedStashInfo
impl Unpin for ScrapedStashInfo
impl UnwindSafe for ScrapedStashInfo
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