pub struct VaultRef {
pub kind: VaultRefKind,
pub target: String,
pub alias: Option<String>,
pub fragment: Option<String>,
pub raw: String,
}Expand description
A recognized [[wikilink]] or ![[transclusion]] extracted from flattened text.
Fields§
§kind: VaultRefKindLink or transclusion.
target: StringThe link target: the part before any #fragment or |alias.
alias: Option<String>The display alias after the first |, if present.
fragment: Option<String>The heading or ^block fragment after the first # before any |, if present.
raw: StringThe full matched token, verbatim.
Trait Implementations§
impl Eq for VaultRef
impl StructuralPartialEq for VaultRef
Auto Trait Implementations§
impl Freeze for VaultRef
impl RefUnwindSafe for VaultRef
impl Send for VaultRef
impl Sync for VaultRef
impl Unpin for VaultRef
impl UnsafeUnpin for VaultRef
impl UnwindSafe for VaultRef
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.