pub struct ScreenshotMetadata {
pub extension_name: String,
pub upstream_status_code: u16,
pub upstream_url: String,
}Expand description
Screenshot metadata parsed from the response headers.
Fields§
§extension_name: StringFile extension inferred from Content-Type (png, jpeg, …).
upstream_status_code: u16Upstream HTTP status code, from the x-scrapfly-upstream-http-code header.
upstream_url: StringFinal upstream URL, from the x-scrapfly-upstream-url header.
Trait Implementations§
Source§impl Clone for ScreenshotMetadata
impl Clone for ScreenshotMetadata
Source§fn clone(&self) -> ScreenshotMetadata
fn clone(&self) -> ScreenshotMetadata
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 ScreenshotMetadata
impl Debug for ScreenshotMetadata
Source§impl Default for ScreenshotMetadata
impl Default for ScreenshotMetadata
Source§fn default() -> ScreenshotMetadata
fn default() -> ScreenshotMetadata
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ScreenshotMetadata
impl RefUnwindSafe for ScreenshotMetadata
impl Send for ScreenshotMetadata
impl Sync for ScreenshotMetadata
impl Unpin for ScreenshotMetadata
impl UnsafeUnpin for ScreenshotMetadata
impl UnwindSafe for ScreenshotMetadata
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