pub enum MatchBy {
Title,
Metadata(String),
}Expand description
The caller-named escape for a correspondence neither origin rule can find.
A person editing Markdown who deletes or corrupts the origin key leaves an item rule 1 cannot use and rule 2 cannot find, and the next copy would create a second item. This is how that is re-established without hand-editing ids.
Variants§
Title
Match the item whose title is the same.
Metadata(String)
Match the item whose value at this metadata key is the same.
Implementations§
Trait Implementations§
impl Eq for MatchBy
impl StructuralPartialEq for MatchBy
Auto Trait Implementations§
impl Freeze for MatchBy
impl RefUnwindSafe for MatchBy
impl Send for MatchBy
impl Sync for MatchBy
impl Unpin for MatchBy
impl UnsafeUnpin for MatchBy
impl UnwindSafe for MatchBy
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.