Struct asana::models::tag_request::TagRequest
source · [−]pub struct TagRequest {
pub gid: Option<String>,
pub resource_type: Option<String>,
pub name: Option<String>,
pub color: Option<Color>,
pub followers: Option<Vec<String>>,
pub workspace: 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<String>>
An array of strings identifying users. These can either be the string "me", an email, or the gid of a user.
workspace: Option<String>
Gid of an object.
Implementations
sourceimpl TagRequest
impl TagRequest
pub fn new() -> TagRequest
Trait Implementations
sourceimpl Clone for TagRequest
impl Clone for TagRequest
sourcefn clone(&self) -> TagRequest
fn clone(&self) -> TagRequest
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 TagRequest
impl Debug for TagRequest
sourceimpl<'de> Deserialize<'de> for TagRequest
impl<'de> Deserialize<'de> for TagRequest
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<TagRequest> for TagRequest
impl PartialEq<TagRequest> for TagRequest
sourcefn eq(&self, other: &TagRequest) -> bool
fn eq(&self, other: &TagRequest) -> bool
sourceimpl Serialize for TagRequest
impl Serialize for TagRequest
impl StructuralPartialEq for TagRequest
Auto Trait Implementations
impl RefUnwindSafe for TagRequest
impl Send for TagRequest
impl Sync for TagRequest
impl Unpin for TagRequest
impl UnwindSafe for TagRequest
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