pub struct ScrapeErrorDetails {
pub code: String,
pub http_code: u16,
pub message: String,
pub doc_url: String,
pub retryable: bool,
}Expand description
Inner error details.
Fields§
§code: StringError code.
http_code: u16HTTP code.
message: StringError message.
doc_url: StringDocumentation URL.
retryable: boolRetryable flag.
Trait Implementations§
Source§impl Clone for ScrapeErrorDetails
impl Clone for ScrapeErrorDetails
Source§fn clone(&self) -> ScrapeErrorDetails
fn clone(&self) -> ScrapeErrorDetails
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 ScrapeErrorDetails
impl Debug for ScrapeErrorDetails
Source§impl Default for ScrapeErrorDetails
impl Default for ScrapeErrorDetails
Source§fn default() -> ScrapeErrorDetails
fn default() -> ScrapeErrorDetails
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ScrapeErrorDetails
impl<'de> Deserialize<'de> for ScrapeErrorDetails
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 ScrapeErrorDetails
impl RefUnwindSafe for ScrapeErrorDetails
impl Send for ScrapeErrorDetails
impl Sync for ScrapeErrorDetails
impl Unpin for ScrapeErrorDetails
impl UnsafeUnpin for ScrapeErrorDetails
impl UnwindSafe for ScrapeErrorDetails
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