pub struct ReadablePage {
pub title: String,
pub paragraphs: Vec<String>,
pub nodes: Vec<ReadableNode>,
pub links: Vec<HtmlLink>,
pub forms: Vec<HtmlForm>,
pub metadata: ReadableMetadata,
}Expand description
A readable page extracted from parsed HTML.
Fields§
§title: StringBest-known page title.
paragraphs: Vec<String>Paragraph-like text chunks.
nodes: Vec<ReadableNode>Structured readable nodes.
links: Vec<HtmlLink>Page links.
forms: Vec<HtmlForm>Page forms.
metadata: ReadableMetadataPage metadata.
Implementations§
Source§impl ReadablePage
impl ReadablePage
Trait Implementations§
Source§impl Clone for ReadablePage
impl Clone for ReadablePage
Source§fn clone(&self) -> ReadablePage
fn clone(&self) -> ReadablePage
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ReadablePage
impl Debug for ReadablePage
Source§impl PartialEq for ReadablePage
impl PartialEq for ReadablePage
Source§fn eq(&self, other: &ReadablePage) -> bool
fn eq(&self, other: &ReadablePage) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ReadablePage
impl StructuralPartialEq for ReadablePage
Auto Trait Implementations§
impl Freeze for ReadablePage
impl RefUnwindSafe for ReadablePage
impl Send for ReadablePage
impl Sync for ReadablePage
impl Unpin for ReadablePage
impl UnsafeUnpin for ReadablePage
impl UnwindSafe for ReadablePage
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