pub struct Backlink {
pub source_path: String,
pub target_path: String,
pub link_text: String,
pub line_number: usize,
}Expand description
A single backlink: a link from one note to another.
Fields§
§source_path: StringFile that contains the link.
target_path: StringFile that the link points to.
link_text: StringLink display text.
line_number: usizeLine number where the link appears (1-indexed).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Backlink
impl<'de> Deserialize<'de> for Backlink
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Backlink
impl RefUnwindSafe for Backlink
impl Send for Backlink
impl Sync for Backlink
impl Unpin for Backlink
impl UnsafeUnpin for Backlink
impl UnwindSafe for Backlink
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