pub struct RichTextReference {
pub text: RichText,
pub anchor_name: String,
pub url: String,
}
Expand description
A reference to a richTexts object on the same web page
Fields§
§text: RichText
The text
anchor_name: String
The name of a richTextAnchor object, which is the first element of the target richTexts object
url: String
An HTTP URL, opening the reference
Trait Implementations§
Source§impl Clone for RichTextReference
impl Clone for RichTextReference
Source§fn clone(&self) -> RichTextReference
fn clone(&self) -> RichTextReference
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 RichTextReference
impl Debug for RichTextReference
Source§impl<'de> Deserialize<'de> for RichTextReference
impl<'de> Deserialize<'de> for RichTextReference
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 RichTextReference
impl PartialEq for RichTextReference
Source§impl Serialize for RichTextReference
impl Serialize for RichTextReference
impl StructuralPartialEq for RichTextReference
Auto Trait Implementations§
impl Freeze for RichTextReference
impl RefUnwindSafe for RichTextReference
impl Send for RichTextReference
impl Sync for RichTextReference
impl Unpin for RichTextReference
impl UnwindSafe for RichTextReference
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