Struct asana::models::tag_response::TagResponse
source · [−]pub struct TagResponse {
pub gid: Option<String>,
pub resource_type: Option<String>,
pub name: Option<String>,
pub color: Option<Color>,
pub followers: Option<Vec<UserCompact>>,
pub workspace: Option<Box<WorkspaceCompact>>,
pub permalink_url: Option<String>,
}
Fields
gid: Option<String>
Globally unique identifier of the resource, as a string.
resource_type: Option<String>
The base type of this resource.
name: Option<String>
Name of the tag. This is generally a short sentence fragment that fits on a line in the UI for maximum readability. However, it can be longer.
color: Option<Color>
Color of the tag.
followers: Option<Vec<UserCompact>>
Array of users following this tag.
workspace: Option<Box<WorkspaceCompact>>
permalink_url: Option<String>
A url that points directly to the object within Asana.
Implementations
sourceimpl TagResponse
impl TagResponse
pub fn new() -> TagResponse
Trait Implementations
sourceimpl Clone for TagResponse
impl Clone for TagResponse
sourcefn clone(&self) -> TagResponse
fn clone(&self) -> TagResponse
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for TagResponse
impl Debug for TagResponse
sourceimpl<'de> Deserialize<'de> for TagResponse
impl<'de> Deserialize<'de> for TagResponse
sourcefn 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
sourceimpl PartialEq<TagResponse> for TagResponse
impl PartialEq<TagResponse> for TagResponse
sourcefn eq(&self, other: &TagResponse) -> bool
fn eq(&self, other: &TagResponse) -> bool
sourceimpl Serialize for TagResponse
impl Serialize for TagResponse
impl StructuralPartialEq for TagResponse
Auto Trait Implementations
impl RefUnwindSafe for TagResponse
impl Send for TagResponse
impl Sync for TagResponse
impl Unpin for TagResponse
impl UnwindSafe for TagResponse
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more