Struct asana::models::tag_compact::TagCompact
source · [−]pub struct TagCompact {
pub gid: Option<String>,
pub resource_type: Option<String>,
pub name: 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.
Implementations
sourceimpl TagCompact
impl TagCompact
pub fn new() -> TagCompact
Trait Implementations
sourceimpl Clone for TagCompact
impl Clone for TagCompact
sourcefn clone(&self) -> TagCompact
fn clone(&self) -> TagCompact
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 TagCompact
impl Debug for TagCompact
sourceimpl<'de> Deserialize<'de> for TagCompact
impl<'de> Deserialize<'de> for TagCompact
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<TagCompact> for TagCompact
impl PartialEq<TagCompact> for TagCompact
sourcefn eq(&self, other: &TagCompact) -> bool
fn eq(&self, other: &TagCompact) -> bool
sourceimpl Serialize for TagCompact
impl Serialize for TagCompact
impl StructuralPartialEq for TagCompact
Auto Trait Implementations
impl RefUnwindSafe for TagCompact
impl Send for TagCompact
impl Sync for TagCompact
impl Unpin for TagCompact
impl UnwindSafe for TagCompact
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