pub struct RichTextAnchorLink {
pub text: RichText,
pub anchor_name: String,
pub url: String,
}
Expand description
A link to an anchor on the same web page
Fields§
§text: RichText
The link text
anchor_name: String
The anchor name. If the name is empty, the link must bring back to top
url: String
An HTTP URL, opening the anchor
Trait Implementations§
Source§impl Clone for RichTextAnchorLink
impl Clone for RichTextAnchorLink
Source§fn clone(&self) -> RichTextAnchorLink
fn clone(&self) -> RichTextAnchorLink
Returns a duplicate 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 RichTextAnchorLink
impl Debug for RichTextAnchorLink
Source§impl<'de> Deserialize<'de> for RichTextAnchorLink
impl<'de> Deserialize<'de> for RichTextAnchorLink
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for RichTextAnchorLink
impl PartialEq for RichTextAnchorLink
Source§impl Serialize for RichTextAnchorLink
impl Serialize for RichTextAnchorLink
impl StructuralPartialEq for RichTextAnchorLink
Auto Trait Implementations§
impl Freeze for RichTextAnchorLink
impl RefUnwindSafe for RichTextAnchorLink
impl Send for RichTextAnchorLink
impl Sync for RichTextAnchorLink
impl Unpin for RichTextAnchorLink
impl UnwindSafe for RichTextAnchorLink
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