Struct asana::models::task_request_all_of::TaskRequestAllOf
source · [−]pub struct TaskRequestAllOf {
pub assignee: Option<String>,
pub custom_fields: Option<HashMap<String, String>>,
pub followers: Option<Vec<String>>,
pub parent: Option<String>,
pub projects: Option<Vec<String>>,
pub tags: Option<Vec<String>>,
pub workspace: Option<String>,
}
Fields
assignee: Option<String>
Gid of a user.
custom_fields: Option<HashMap<String, String>>
An object where each key is a Custom Field gid and each value is an enum gid, string, or number.
followers: Option<Vec<String>>
Create-Only An array of strings identifying users. These can either be the string "me", an email, or the gid of a user. In order to change followers on an existing task use addFollowers
and removeFollowers
.
parent: Option<String>
Gid of a task.
projects: Option<Vec<String>>
Create-Only Array of project gids. In order to change projects on an existing task use addProject
and removeProject
.
Create-Only Array of tag gids. In order to change tags on an existing task use addTag
and removeTag
.
workspace: Option<String>
Gid of a workspace.
Implementations
sourceimpl TaskRequestAllOf
impl TaskRequestAllOf
pub fn new() -> TaskRequestAllOf
Trait Implementations
sourceimpl Clone for TaskRequestAllOf
impl Clone for TaskRequestAllOf
sourcefn clone(&self) -> TaskRequestAllOf
fn clone(&self) -> TaskRequestAllOf
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 TaskRequestAllOf
impl Debug for TaskRequestAllOf
sourceimpl<'de> Deserialize<'de> for TaskRequestAllOf
impl<'de> Deserialize<'de> for TaskRequestAllOf
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<TaskRequestAllOf> for TaskRequestAllOf
impl PartialEq<TaskRequestAllOf> for TaskRequestAllOf
sourcefn eq(&self, other: &TaskRequestAllOf) -> bool
fn eq(&self, other: &TaskRequestAllOf) -> bool
sourceimpl Serialize for TaskRequestAllOf
impl Serialize for TaskRequestAllOf
impl StructuralPartialEq for TaskRequestAllOf
Auto Trait Implementations
impl RefUnwindSafe for TaskRequestAllOf
impl Send for TaskRequestAllOf
impl Sync for TaskRequestAllOf
impl Unpin for TaskRequestAllOf
impl UnwindSafe for TaskRequestAllOf
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