pub struct TagView {
pub id: String,
pub name: String,
pub color: String,
}Expand description
A tag for categorizing cards.
Fields§
§id: StringUnique tag identifier.
name: StringDisplay name of the tag.
color: StringHex color code (e.g., “#FF5733”).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TagView
impl<'de> Deserialize<'de> for TagView
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 Eq for TagView
impl StructuralPartialEq for TagView
Auto Trait Implementations§
impl Freeze for TagView
impl RefUnwindSafe for TagView
impl Send for TagView
impl Sync for TagView
impl Unpin for TagView
impl UnsafeUnpin for TagView
impl UnwindSafe for TagView
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