[−][src]Struct google_tasks1::Task
There is no detailed description.
Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- list tasks (none)
- update tasks (request|response)
- patch tasks (request|response)
- clear tasks (none)
- move tasks (response)
- delete tasks (none)
- get tasks (response)
- insert tasks (request|response)
Fields
status: Option<String>
Status of the task. This is either "needsAction" or "completed".
kind: Option<String>
Type of the resource. This is always "tasks#task".
parent: Option<String>
Parent task identifier. This field is omitted if it is a top-level task. This field is read-only. Use the "move" method to move the task under a different parent or to the top level.
links: Option<Vec<TaskLinks>>
Collection of links. This collection is read-only.
title: Option<String>
Title of the task.
deleted: Option<bool>
Flag indicating whether the task has been deleted. The default if False.
completed: Option<String>
Completion date of the task (as a RFC 3339 timestamp). This field is omitted if the task has not been completed.
updated: Option<String>
Last modification time of the task (as a RFC 3339 timestamp).
due: Option<String>
Due date of the task (as a RFC 3339 timestamp). Optional. The due date only records date information; the time portion of the timestamp is discarded when setting the due date. It isn't possible to read or write the time that a task is due via the API.
etag: Option<String>
ETag of the resource.
id: Option<String>
Task identifier.
position: Option<String>
String indicating the position of the task among its sibling tasks under the same parent task or at the top level. If this string is greater than another task's corresponding position string according to lexicographical ordering, the task is positioned after the other task under the same parent task (or at the top level). This field is read-only. Use the "move" method to move the task to another position.
Flag indicating whether the task is hidden. This is the case if the task had been marked completed when the task list was last cleared. The default is False. This field is read-only.
notes: Option<String>
Notes describing the task. Optional.
self_link: Option<String>
URL pointing to this task. Used to retrieve, update, or delete this task.
Trait Implementations
impl Resource for Task
[src]
impl ResponseResult for Task
[src]
impl RequestValue for Task
[src]
impl Clone for Task
[src]
impl Default for Task
[src]
impl Debug for Task
[src]
impl Serialize for Task
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'de> Deserialize<'de> for Task
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl Send for Task
impl Sync for Task
impl Unpin for Task
impl UnwindSafe for Task
impl RefUnwindSafe for Task
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Typeable for T where
T: Any,
T: Any,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,