pub struct Tag {
pub gid: String,
pub name: String,
pub resource_type: Option<String>,
pub color: Option<TagColor>,
pub notes: Option<String>,
pub created_at: Option<String>,
pub followers: Vec<UserReference>,
pub workspace: Option<WorkspaceReference>,
pub permalink_url: Option<String>,
}Expand description
Full tag payload returned by the Asana API.
Fields§
§gid: StringGlobally unique identifier.
name: StringTag name.
resource_type: Option<String>Resource type marker.
color: Option<TagColor>Tag color.
notes: Option<String>Notes or description.
created_at: Option<String>Creation timestamp.
followers: Vec<UserReference>Followers for notifications.
workspace: Option<WorkspaceReference>Workspace reference.
permalink_url: Option<String>Public permalink.
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 Eq for Tag
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