pub struct Hyperlink<'a> {
pub id: Option<Cow<'a, str>>,
pub anchor: Option<Cow<'a, str>>,
pub content: Run<'a>,
}
Expand description
The root element of a hyperlink within the paragraph
Fields§
§id: Option<Cow<'a, str>>
Specifies the ID of the relationship in the relationships part for an external link.
anchor: Option<Cow<'a, str>>
Specifies the name of a bookmark within the document.
content: Run<'a>
Link content
Implementations§
Trait Implementations§
source§impl<'a> From<Hyperlink<'a>> for ParagraphContent<'a>
impl<'a> From<Hyperlink<'a>> for ParagraphContent<'a>
source§fn from(original: Hyperlink<'a>) -> ParagraphContent<'a>
fn from(original: Hyperlink<'a>) -> ParagraphContent<'a>
Converts to this type from the input type.