pub struct Tag {
pub kind: TagKind,
pub count: u64,
pub name: Box<str>,
pub ambiguous: bool,
pub id: NonZeroU64,
}
Expand description
A Tag
Fields§
§kind: TagKind
The tag kind.
count: u64
The # of posts with this tag.
This is not always up to date.
name: Box<str>
The tag name.
ambiguous: bool
?
id: NonZeroU64
The tag id.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Tag
impl<'de> Deserialize<'de> for Tag
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
Auto Trait Implementations§
impl RefUnwindSafe for Tag
impl Send for Tag
impl Sync for Tag
impl Unpin for Tag
impl UnwindSafe for Tag
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