pub struct Tg {
pub reference: String,
pub role: Option<String>,
pub title: Option<String>,
pub content: String,
}Expand description
Topic tag
Fields§
§reference: StringTopic identifier (e.g., “constitution”, “civil-rights”)
role: Option<String>Tag relationship type
title: Option<String>Hover text or description
content: StringLink text (plain text only)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Tg
impl<'de> Deserialize<'de> for Tg
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 Tg
Auto Trait Implementations§
impl Freeze for Tg
impl RefUnwindSafe for Tg
impl Send for Tg
impl Sync for Tg
impl Unpin for Tg
impl UnwindSafe for Tg
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