pub struct Md057LinkTarget {
pub target: String,
pub origin: LinkOrigin,
}Expand description
A path input whose filesystem state can affect MD057’s per-file verdict.
Fields§
§target: StringThe destination as MD057 passes it to its resolver.
origin: LinkOriginWhether the destination came from Markdown syntax or frontmatter.
Trait Implementations§
Source§impl Clone for Md057LinkTarget
impl Clone for Md057LinkTarget
Source§fn clone(&self) -> Md057LinkTarget
fn clone(&self) -> Md057LinkTarget
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Md057LinkTarget
impl Debug for Md057LinkTarget
Source§impl<'de> Deserialize<'de> for Md057LinkTarget
impl<'de> Deserialize<'de> for Md057LinkTarget
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 Md057LinkTarget
Source§impl PartialEq for Md057LinkTarget
impl PartialEq for Md057LinkTarget
Source§impl Serialize for Md057LinkTarget
impl Serialize for Md057LinkTarget
impl StructuralPartialEq for Md057LinkTarget
Auto Trait Implementations§
impl Freeze for Md057LinkTarget
impl RefUnwindSafe for Md057LinkTarget
impl Send for Md057LinkTarget
impl Sync for Md057LinkTarget
impl Unpin for Md057LinkTarget
impl UnsafeUnpin for Md057LinkTarget
impl UnwindSafe for Md057LinkTarget
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.