pub struct RetargetHitPreview {
pub id: String,
pub path: String,
pub old_raw: String,
pub new_raw: String,
}Expand description
A block a retarget rewrites, as links_repair reports it:
{ id, path, oldRaw, newRaw }.
Fields§
§id: String§path: String§old_raw: String§new_raw: StringTrait Implementations§
Source§impl Clone for RetargetHitPreview
impl Clone for RetargetHitPreview
Source§impl Debug for RetargetHitPreview
impl Debug for RetargetHitPreview
impl Eq for RetargetHitPreview
Source§impl PartialEq for RetargetHitPreview
impl PartialEq for RetargetHitPreview
impl StructuralPartialEq for RetargetHitPreview
Auto Trait Implementations§
impl Freeze for RetargetHitPreview
impl RefUnwindSafe for RetargetHitPreview
impl Send for RetargetHitPreview
impl Sync for RetargetHitPreview
impl Unpin for RetargetHitPreview
impl UnsafeUnpin for RetargetHitPreview
impl UnwindSafe for RetargetHitPreview
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.