pub struct Tag {
pub id: Uuid,
pub label: String,
pub description: Option<String>,
pub color: Option<String>,
pub is_protected: bool,
pub updated_at: f64,
pub pending_approval_request: Option<ApprovalRequest>,
}Fields§
§id: UuidThe unique identifier of the tag
label: StringThe tag label
description: Option<String>Description for the tag
color: Option<String>The tag color in hex format
is_protected: boolIndication of whether the tag is a protected tag
updated_at: f64The date and time the tag was last updated
pending_approval_request: Option<ApprovalRequest>Implementations§
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
impl StructuralPartialEq for Tag
Auto Trait Implementations§
impl Freeze for Tag
impl RefUnwindSafe for Tag
impl Send for Tag
impl Sync for Tag
impl Unpin for Tag
impl UnsafeUnpin 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