Struct ResolvedReference
#[non_exhaustive]
pub struct ResolvedReference { pub url: String, pub title: String }
A reference link's resolved details.
Fields
url: StringThe destination URL of the reference link.
title: StringThe text of the link.
Implementations
impl ResolvedReference
fn new(url: impl Into<String>, title: impl Into<String>) -> SelfCreate a new
ResolvedReferencewith the given URL and title.
Trait Implementations
impl Clone for ResolvedReference
fn clone(&self) -> Self
impl Debug for ResolvedReference
fn fmt(&self, f: &mut Formatter<'_>) -> Result