Struct ResolvedReference

#[non_exhaustive]
pub struct ResolvedReference { pub url: String, pub title: String }

A reference link's resolved details.

Fields

url: String

The destination URL of the reference link.

title: String

The text of the link.

Implementations

impl ResolvedReference

fn new(url: impl Into<String>, title: impl Into<String>) -> Self

Create a new ResolvedReference with 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

Auto Trait Implementations

impl Freeze for ResolvedReference

impl RefUnwindSafe for ResolvedReference

impl Send for ResolvedReference

impl Sync for ResolvedReference

impl Unpin for ResolvedReference

impl UnsafeUnpin for ResolvedReference

impl UnwindSafe for ResolvedReference

Blanket Implementations

impl<F, T, S> SimdInto<T, S> for ResolvedReference where T: SimdFrom<F, S>, S: Simd,

impl<T> Any for ResolvedReference where T: 'static + ?Sized,

impl<T> Borrow<T> for ResolvedReference where T: ?Sized,

impl<T> BorrowMut<T> for ResolvedReference where T: ?Sized,

impl<T> CloneToUninit for ResolvedReference where T: Clone,

impl<T> From<T> for ResolvedReference

impl<T> ToOwned for ResolvedReference where T: Clone,

impl<T, S> SimdFrom<T, S> for ResolvedReference where S: Simd,

impl<T, U> Into<U> for ResolvedReference where U: From<T>,

impl<T, U> TryFrom<U> for ResolvedReference where U: Into<T>,

impl<T, U> TryInto<U> for ResolvedReference where U: TryFrom<T>,