pub struct DocumentLinks {
pub uri: Uri,
pub base_uri: String,
pub links: Vec<DocumentLink>,
}Expand description
Links captured together from a rendered document, in document order.
The page URI, base URI, link attributes and visibility must all come from the same DOM capture. Duplicate URLs are separate link records.
Fields§
§uri: UriThe document’s current URI, after navigation or script changes.
base_uri: StringThe document’s base URI, including its <base href>, if any.
links: Vec<DocumentLink>The observed links, including hidden and unknown links.
Trait Implementations§
Source§impl Clone for DocumentLinks
impl Clone for DocumentLinks
Source§impl Debug for DocumentLinks
impl Debug for DocumentLinks
impl Eq for DocumentLinks
Source§impl PartialEq for DocumentLinks
impl PartialEq for DocumentLinks
impl StructuralPartialEq for DocumentLinks
Auto Trait Implementations§
impl !Freeze for DocumentLinks
impl RefUnwindSafe for DocumentLinks
impl Send for DocumentLinks
impl Sync for DocumentLinks
impl Unpin for DocumentLinks
impl UnsafeUnpin for DocumentLinks
impl UnwindSafe for DocumentLinks
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