pub struct DocMoveResult {
pub doc_id: String,
pub path: String,
pub committed: bool,
pub diffs: Option<Diffs>,
pub dangling: Vec<InboundLink>,
pub retargeted: Option<Retargeted>,
}Expand description
The result of docs_move.
Fields§
§doc_id: String§path: String§committed: bool§diffs: Option<Diffs>With a dry run: the old path emptied, the new path filled, then any
source the retarget_inbound rewrite would touch. None when committed.
dangling: Vec<InboundLink>Inbound links still naming the old path after the call (with the retarget: the frontmatter relations, which are never rewritten).
retargeted: Option<Retargeted>None when the retarget was opted out or nothing linked in; empty
lists when it ran but only frontmatter relations linked in.
Implementations§
Trait Implementations§
Source§impl Clone for DocMoveResult
impl Clone for DocMoveResult
Source§impl Debug for DocMoveResult
impl Debug for DocMoveResult
impl Eq for DocMoveResult
Source§impl PartialEq for DocMoveResult
impl PartialEq for DocMoveResult
impl StructuralPartialEq for DocMoveResult
Auto Trait Implementations§
impl Freeze for DocMoveResult
impl RefUnwindSafe for DocMoveResult
impl Send for DocMoveResult
impl Sync for DocMoveResult
impl Unpin for DocMoveResult
impl UnsafeUnpin for DocMoveResult
impl UnwindSafe for DocMoveResult
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.