pub struct DocumentLink {
pub href: String,
pub rel: Vec<String>,
pub text: String,
pub kind: LinkKind,
pub visibility: Visibility,
}Expand description
A link and its visibility, observed together from one rendered document.
Fields§
§href: StringThe href as written in the document.
rel: Vec<String>The link’s rel tokens.
text: StringThe anchor’s text, or an area’s alt text.
kind: LinkKindThe element the link comes from.
visibility: VisibilityVisibility at the time the link was observed.
Trait Implementations§
Source§impl Clone for DocumentLink
impl Clone for DocumentLink
Source§impl Debug for DocumentLink
impl Debug for DocumentLink
impl Eq for DocumentLink
Source§impl PartialEq for DocumentLink
impl PartialEq for DocumentLink
impl StructuralPartialEq for DocumentLink
Auto Trait Implementations§
impl Freeze for DocumentLink
impl RefUnwindSafe for DocumentLink
impl Send for DocumentLink
impl Sync for DocumentLink
impl Unpin for DocumentLink
impl UnsafeUnpin for DocumentLink
impl UnwindSafe for DocumentLink
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