pub struct TaskCompact {
pub asana_resource: AsanaResource,
pub created_by: Option<Value>,
pub name: Option<String>,
pub resource_subtype: Option<String>,
}
Fields§
§asana_resource: AsanaResource
A generic Asana Resource, containing a globally unique identifier.
created_by: Option<Value>
Opt In. A user object represents an account in Asana that can be given access to various workspaces, projects, and tasks.
name: Option<String>
The name of the task.
resource_subtype: Option<String>
The subtype of this resource. Different subtypes retain many of the same fields and behavior, but may render differently in Asana or represent resources with different semantic meaning.
The resource_subtype milestone
represent a single moment in time. This means tasks with this subtype cannot have a start_date.
Trait Implementations§
Source§impl Clone for TaskCompact
impl Clone for TaskCompact
Source§fn clone(&self) -> TaskCompact
fn clone(&self) -> TaskCompact
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for TaskCompact
impl Debug for TaskCompact
Source§impl Default for TaskCompact
impl Default for TaskCompact
Source§fn default() -> TaskCompact
fn default() -> TaskCompact
Returns the “default value” for a type. Read more
Source§impl Deref for TaskCompact
impl Deref for TaskCompact
Source§impl DerefMut for TaskCompact
impl DerefMut for TaskCompact
Source§impl<'de> Deserialize<'de> for TaskCompact
impl<'de> Deserialize<'de> for TaskCompact
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
Source§impl Display for TaskCompact
impl Display for TaskCompact
Auto Trait Implementations§
impl Freeze for TaskCompact
impl RefUnwindSafe for TaskCompact
impl Send for TaskCompact
impl Sync for TaskCompact
impl Unpin for TaskCompact
impl UnwindSafe for TaskCompact
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