pub struct LinkRepairPlan {
pub ops: Vec<Op>,
pub hits: Vec<RetargetHit>,
pub pairs: Vec<LinkRepairCount>,
}Expand description
What links_repair returns (§5).
Fields§
§ops: Vec<Op>One update per rewritten top-most block.
hits: Vec<RetargetHit>§pairs: Vec<LinkRepairCount>Implementations§
Source§impl LinkRepairPlan
impl LinkRepairPlan
Sourcepub fn extras_json(&self) -> Map<String, Value>
pub fn extras_json(&self) -> Map<String, Value>
{ hits: [{ block, path, old_raw, new_raw }], pairs: [{ from, to, hits }] }
— the extra the fixture records beside ops.
Trait Implementations§
Source§impl Clone for LinkRepairPlan
impl Clone for LinkRepairPlan
Source§impl Debug for LinkRepairPlan
impl Debug for LinkRepairPlan
Source§impl PartialEq for LinkRepairPlan
impl PartialEq for LinkRepairPlan
impl StructuralPartialEq for LinkRepairPlan
Auto Trait Implementations§
impl Freeze for LinkRepairPlan
impl RefUnwindSafe for LinkRepairPlan
impl Send for LinkRepairPlan
impl Sync for LinkRepairPlan
impl Unpin for LinkRepairPlan
impl UnsafeUnpin for LinkRepairPlan
impl UnwindSafe for LinkRepairPlan
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