pub struct Link {
pub url: String,
pub items: Vec<LinkItem>,
pub tags: Tags,
pub props: Props,
}
Expand description
Links are pieces of text with an accompanying URL.
Fields§
§url: String
§items: Vec<LinkItem>
§props: Props
Implementations§
Trait Implementations§
Source§impl PruneIncodoc for Link
impl PruneIncodoc for Link
fn prune_errors(&mut self)
fn prune_contentless(&mut self)
fn is_contentless(&self) -> bool
impl Eq for Link
impl StructuralPartialEq for Link
Auto Trait Implementations§
impl Freeze for Link
impl RefUnwindSafe for Link
impl Send for Link
impl Sync for Link
impl Unpin for Link
impl UnwindSafe for Link
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