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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more