pub struct LidCorrelation {
pub url: String,
pub value: String,
pub url_offset: usize,
}Expand description
One remote-side correlation point: a URL anchor (in field byte offset order) paired with the lid value that follows it in the same anchor scope.
Fields§
§url: StringNormalized URL anchor.
value: StringThe lid value extracted from | lid: '…'.
url_offset: usizeByte offset where the <a href> (HTML) or raw URL (plaintext)
begins. Useful for ordering and ambiguity reporting.
Trait Implementations§
Source§impl Clone for LidCorrelation
impl Clone for LidCorrelation
Source§fn clone(&self) -> LidCorrelation
fn clone(&self) -> LidCorrelation
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 LidCorrelation
impl Debug for LidCorrelation
Source§impl PartialEq for LidCorrelation
impl PartialEq for LidCorrelation
Source§fn eq(&self, other: &LidCorrelation) -> bool
fn eq(&self, other: &LidCorrelation) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for LidCorrelation
impl StructuralPartialEq for LidCorrelation
Auto Trait Implementations§
impl Freeze for LidCorrelation
impl RefUnwindSafe for LidCorrelation
impl Send for LidCorrelation
impl Sync for LidCorrelation
impl Unpin for LidCorrelation
impl UnsafeUnpin for LidCorrelation
impl UnwindSafe for LidCorrelation
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.