pub enum LinkResolution {
NonInternal,
InternalResolved {
slug: String,
url: String,
},
InternalUnresolved {
slug: String,
},
}Expand description
Result of resolving an internal link.
Variants§
NonInternal
The href is not an internal link.
InternalResolved
The internal link was resolved to a URL.
InternalUnresolved
The internal link target was not found.
Trait Implementations§
Source§impl Clone for LinkResolution
impl Clone for LinkResolution
Source§fn clone(&self) -> LinkResolution
fn clone(&self) -> LinkResolution
Returns a duplicate of the value. Read more
1.0.0 · 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 LinkResolution
impl Debug for LinkResolution
Source§impl PartialEq for LinkResolution
impl PartialEq for LinkResolution
impl Eq for LinkResolution
impl StructuralPartialEq for LinkResolution
Auto Trait Implementations§
impl Freeze for LinkResolution
impl RefUnwindSafe for LinkResolution
impl Send for LinkResolution
impl Sync for LinkResolution
impl Unpin for LinkResolution
impl UnsafeUnpin for LinkResolution
impl UnwindSafe for LinkResolution
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