pub struct LinkDefinition {
pub label: String,
pub destination: String,
pub title: Option<String>,
}Expand description
Link reference definition (GFM) with a label, destination and optional title.
Fields§
§label: StringNormalized label (acts as the identifier).
destination: StringLink URL (absolute or relative) or email address.
title: Option<String>Optional title (for links and images).
Trait Implementations§
Source§impl Clone for LinkDefinition
impl Clone for LinkDefinition
Source§fn clone(&self) -> LinkDefinition
fn clone(&self) -> LinkDefinition
Returns a copy of the value. Read more
1.0.0 · 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 LinkDefinition
impl Debug for LinkDefinition
Source§impl PartialEq for LinkDefinition
impl PartialEq for LinkDefinition
impl StructuralPartialEq for LinkDefinition
Auto Trait Implementations§
impl Freeze for LinkDefinition
impl RefUnwindSafe for LinkDefinition
impl Send for LinkDefinition
impl Sync for LinkDefinition
impl Unpin for LinkDefinition
impl UnwindSafe for LinkDefinition
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