pub struct RawLink {
pub target: String,
pub kind: LinkKind,
pub field: Option<String>,
}Expand description
One reference found in a note, before it is resolved.
Fields§
§target: StringWhat resolution runs against. A wikilink’s text minus #heading,
|alias and the \ escaping the pipe; a markdown link’s URL
percent-decoded and minus a trailing .md.
kind: LinkKindWhich syntax produced the reference.
field: Option<String>The frontmatter key a Frontmatter link came from.
Trait Implementations§
impl Eq for RawLink
impl StructuralPartialEq for RawLink
Auto Trait Implementations§
impl Freeze for RawLink
impl RefUnwindSafe for RawLink
impl Send for RawLink
impl Sync for RawLink
impl Unpin for RawLink
impl UnsafeUnpin for RawLink
impl UnwindSafe for RawLink
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