pub struct LinkEntry {
pub rel: String,
pub to: String,
pub note: Option<String>,
pub line: usize,
}Expand description
One links entry (SOKF_FORMAT_50, SOKF_FORMAT_51).
Fields§
§rel: Stringrel.
to: Stringto: an id or a / path.
note: Option<String>note.
line: usizeThe entry’s line.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for LinkEntry
impl<'de> Deserialize<'de> for LinkEntry
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
impl Eq for LinkEntry
impl StructuralPartialEq for LinkEntry
Auto Trait Implementations§
impl Forget for LinkEntry
impl Freeze for LinkEntry
impl Move for LinkEntry
impl RefUnwindSafe for LinkEntry
impl Send for LinkEntry
impl Sync for LinkEntry
impl Unpin for LinkEntry
impl UnsafeUnpin for LinkEntry
impl UnwindSafe for LinkEntry
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.