pub struct InlineAnchor {
pub text: String,
pub match_index: usize,
pub match_count: usize,
}Expand description
Anchor metadata required when creating an inline comment.
Confluence’s inline-comment-properties payload identifies which text
selection on the page the comment attaches to. match_index is 0-based;
match_count is the total number of occurrences of text on the page.
Fields§
§text: StringThe selected text the comment anchors to.
match_index: usize0-based index of which occurrence on the page this comment anchors to.
match_count: usizeTotal number of occurrences of text on the page.
Trait Implementations§
Source§impl Clone for InlineAnchor
impl Clone for InlineAnchor
Source§fn clone(&self) -> InlineAnchor
fn clone(&self) -> InlineAnchor
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 moreAuto Trait Implementations§
impl Freeze for InlineAnchor
impl RefUnwindSafe for InlineAnchor
impl Send for InlineAnchor
impl Sync for InlineAnchor
impl Unpin for InlineAnchor
impl UnsafeUnpin for InlineAnchor
impl UnwindSafe for InlineAnchor
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