pub struct LinkRow {
pub source_slug: String,
pub target_slug: String,
pub alias: Option<String>,
pub line_number: Option<i32>,
}Expand description
A row from the links table.
Fields§
§source_slug: String§target_slug: String§alias: Option<String>Display text override ([[target|alias]]).
line_number: Option<i32>1-based line number where the link appears in the source file.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LinkRow
impl RefUnwindSafe for LinkRow
impl Send for LinkRow
impl Sync for LinkRow
impl Unpin for LinkRow
impl UnsafeUnpin for LinkRow
impl UnwindSafe for LinkRow
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