pub struct CrawlerContentsLinks {
pub crawled_urls: String,
pub next: String,
pub prev: String,
}Expand description
Pagination links returned with bulk contents.
next/prev arrive as JSON null when there is no adjacent page, which
would reject under a plain String field; [null_as_empty_string] maps
both null and absent to the empty string so the public API stays typed.
Fields§
§crawled_urls: StringCrawled URLs link.
next: StringNext-page link (empty when on the last page).
prev: StringPrevious-page link (empty when on the first page).
Trait Implementations§
Source§impl Clone for CrawlerContentsLinks
impl Clone for CrawlerContentsLinks
Source§fn clone(&self) -> CrawlerContentsLinks
fn clone(&self) -> CrawlerContentsLinks
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 CrawlerContentsLinks
impl Debug for CrawlerContentsLinks
Source§impl Default for CrawlerContentsLinks
impl Default for CrawlerContentsLinks
Source§fn default() -> CrawlerContentsLinks
fn default() -> CrawlerContentsLinks
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CrawlerContentsLinks
impl<'de> Deserialize<'de> for CrawlerContentsLinks
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 CrawlerContentsLinks
impl RefUnwindSafe for CrawlerContentsLinks
impl Send for CrawlerContentsLinks
impl Sync for CrawlerContentsLinks
impl Unpin for CrawlerContentsLinks
impl UnsafeUnpin for CrawlerContentsLinks
impl UnwindSafe for CrawlerContentsLinks
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