pub struct TextLink {
pub text_block: TextBlock,
pub url: String,
}Expand description
A clickable text URL
Fields§
§text_block: TextBlockThe part of the text that if clicked will open an url
url: StringThe url that will be opened after user taps on the text
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TextLink
impl<'de> Deserialize<'de> for TextLink
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
impl StructuralPartialEq for TextLink
Auto Trait Implementations§
impl Freeze for TextLink
impl RefUnwindSafe for TextLink
impl Send for TextLink
impl Sync for TextLink
impl Unpin for TextLink
impl UnwindSafe for TextLink
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