pub struct Citation {
pub index: usize,
pub text: String,
pub href: String,
}Expand description
A stable external citation/reference extracted from a document link.
Fields§
§index: usizeStable one-based citation index.
text: StringLink text as presented by the document model.
href: StringExternal reference URL.
Trait Implementations§
impl Eq for Citation
impl StructuralPartialEq for Citation
Auto Trait Implementations§
impl Freeze for Citation
impl RefUnwindSafe for Citation
impl Send for Citation
impl Sync for Citation
impl Unpin for Citation
impl UnsafeUnpin for Citation
impl UnwindSafe for Citation
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