Struct google_keep1::api::Note
source · pub struct Note {
pub attachments: Option<Vec<Attachment>>,
pub body: Option<Section>,
pub create_time: Option<DateTime<Utc>>,
pub name: Option<String>,
pub permissions: Option<Vec<Permission>>,
pub title: Option<String>,
pub trash_time: Option<DateTime<Utc>>,
pub trashed: Option<bool>,
pub update_time: Option<DateTime<Utc>>,
}Expand description
A single note.
§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).
- permissions batch create notes (none)
- permissions batch delete notes (none)
- create notes (request|response)
- delete notes (none)
- get notes (response)
- list notes (none)
Fields§
§attachments: Option<Vec<Attachment>>Output only. The attachments attached to this note.
body: Option<Section>The body of the note.
create_time: Option<DateTime<Utc>>Output only. When this note was created.
name: Option<String>Output only. The resource name of this note. See general note on identifiers in KeepService.
permissions: Option<Vec<Permission>>Output only. The list of permissions set on the note. Contains at least one entry for the note owner.
title: Option<String>The title of the note. Length must be less than 1,000 characters.
trash_time: Option<DateTime<Utc>>Output only. When this note was trashed. If trashed, the note is eventually deleted. If the note is not trashed, this field is not set (and the trashed field is false).
trashed: Option<bool>Output only. true if this note has been trashed. If trashed, the note is eventually deleted.
update_time: Option<DateTime<Utc>>Output only. When this note was last modified.