pub struct FetchItem {
pub url: String,
pub status: FetchStatus,
pub content: Option<String>,
pub links: Vec<String>,
pub image_links: Vec<String>,
pub error: Option<ApiError>,
pub cached: bool,
}Fields§
§url: String§status: FetchStatus§content: Option<String>§links: Vec<String>§image_links: Vec<String>§error: Option<ApiError>§cached: boolTrait Implementations§
Source§impl<'de> Deserialize<'de> for FetchItem
impl<'de> Deserialize<'de> for FetchItem
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
impl Eq for FetchItem
impl StructuralPartialEq for FetchItem
Auto Trait Implementations§
impl Freeze for FetchItem
impl RefUnwindSafe for FetchItem
impl Send for FetchItem
impl Sync for FetchItem
impl Unpin for FetchItem
impl UnsafeUnpin for FetchItem
impl UnwindSafe for FetchItem
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