pub struct Task {
pub id: Option<String>,
pub task_type_id: String,
pub name: String,
pub companies_ids: Option<Vec<String>>,
pub deals_ids: Option<Vec<String>>,
pub contacts_ids: Option<Vec<i64>>,
pub assign_to_id: Option<String>,
pub date: DateTime<FixedOffset>,
pub notes: Option<String>,
pub done: Option<bool>,
pub created_at: Option<DateTime<FixedOffset>>,
pub updated_at: Option<DateTime<FixedOffset>>,
}Expand description
Task Details
Fields§
§id: Option<String>Unique task id
task_type_id: StringId for type of task e.g Call / Email / Meeting etc.
name: StringName of task
companies_ids: Option<Vec<String>>Companies ids for companies a task is linked to
deals_ids: Option<Vec<String>>Deal ids for deals a task is linked to
contacts_ids: Option<Vec<i64>>Contact ids for contacts linked to this task
assign_to_id: Option<String>Account id of the user assigned to this task
date: DateTime<FixedOffset>Task due date and time
notes: Option<String>Notes added to a task
done: Option<bool>Whether the task is marked as done
created_at: Option<DateTime<FixedOffset>>Task creation date/time
updated_at: Option<DateTime<FixedOffset>>Task last update date/time
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Task
impl<'de> Deserialize<'de> for Task
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
impl Eq for Task
impl StructuralPartialEq for Task
Auto Trait Implementations§
impl Forget for Task
impl Freeze for Task
impl Move for Task
impl RefUnwindSafe for Task
impl Send for Task
impl Sync for Task
impl Unpin for Task
impl UnsafeUnpin for Task
impl UnwindSafe for Task
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