Struct google_tasks1::api::Task [−][src]
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).
- clear tasks (none)
- delete tasks (none)
- get tasks (response)
- insert tasks (request|response)
- list tasks (none)
- move tasks (response)
- patch tasks (request|response)
- update tasks (request|response)
Fields
completed: Option<String>
Completion date of the task (as a RFC 3339 timestamp). This field is omitted if the task has not been completed.
deleted: Option<bool>
Flag indicating whether the task has been deleted. The default is False.
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.
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.
id: Option<String>
Task identifier.
kind: Option<String>
Type of the resource. This is always “tasks#task”.
links: Option<Vec<TaskLinks>>
Collection of links. This collection is read-only.
notes: Option<String>
Notes describing the task. Optional.
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.
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.
self_link: Option<String>
URL pointing to this task. Used to retrieve, update, or delete this task.
status: Option<String>
Status of the task. This is either “needsAction” or “completed”.
title: Option<String>
Title of the task.
updated: Option<String>
Last modification time of the task (as a RFC 3339 timestamp).
Trait Implementations
impl Clone for Task
[src]
impl Debug for Task
[src]
impl Default for Task
[src]
impl<'de> Deserialize<'de> for Task
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl RequestValue for Task
[src]
impl Resource for Task
[src]
impl ResponseResult for Task
[src]
impl Serialize for Task
[src]
Auto Trait Implementations
impl RefUnwindSafe for Task
impl Send for Task
impl Sync for Task
impl Unpin for Task
impl UnwindSafe for Task
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[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.
pub fn to_owned(&self) -> T
[src]
pub 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 = Infallible
The type returned in the event of a conversion error.
pub 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>,