pub struct ReanchorOutcome {
pub comment_id: String,
pub marker_ref: String,
pub new_anchor_text: String,
pub previous_anchored_text: Option<String>,
pub original_selection: Option<String>,
pub dry_run: bool,
}Expand description
Result of a successful reanchor_inline_comment call.
Fields§
§comment_id: StringThe re-anchored comment’s ID.
marker_ref: StringThe annotation-mark id that was moved.
new_anchor_text: StringThe text the mark was moved to.
previous_anchored_text: Option<String>The text that previously bore the mark (joined across runs), if any.
original_selection: Option<String>The reviewer’s original highlight, for context.
dry_run: boolTrue when this was a dry run — the page was validated and the move computed, but no write was performed.
Trait Implementations§
Source§impl Clone for ReanchorOutcome
impl Clone for ReanchorOutcome
Source§fn clone(&self) -> ReanchorOutcome
fn clone(&self) -> ReanchorOutcome
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 ReanchorOutcome
impl Debug for ReanchorOutcome
Auto Trait Implementations§
impl Freeze for ReanchorOutcome
impl RefUnwindSafe for ReanchorOutcome
impl Send for ReanchorOutcome
impl Sync for ReanchorOutcome
impl Unpin for ReanchorOutcome
impl UnsafeUnpin for ReanchorOutcome
impl UnwindSafe for ReanchorOutcome
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