pub struct Note {Show 19 fields
pub id: String,
pub title: String,
pub description: String,
pub tags: Vec<String>,
pub last_changed_at: DateTime<Utc>,
pub created_at: DateTime<Utc>,
pub title_updated_at: Option<DateTime<Utc>>,
pub tags_updated_at: Option<DateTime<Utc>>,
pub last_change_user: Option<SimpleUserProfile>,
pub publish_type: NotePublishType,
pub published_at: Option<DateTime<Utc>>,
pub user_path: Option<String>,
pub team_path: Option<String>,
pub permalink: Option<String>,
pub short_id: String,
pub publish_link: String,
pub folder_paths: Vec<FolderPath>,
pub read_permission: NotePermissionRole,
pub write_permission: NotePermissionRole,
}Fieldsยง
ยงid: Stringยงtitle: Stringยงdescription: Stringยงlast_changed_at: DateTime<Utc>ยงcreated_at: DateTime<Utc>ยงtitle_updated_at: Option<DateTime<Utc>>ยงlast_change_user: Option<SimpleUserProfile>ยงpublish_type: NotePublishTypeยงpublished_at: Option<DateTime<Utc>>ยงuser_path: Option<String>ยงteam_path: Option<String>ยงpermalink: Option<String>ยงshort_id: Stringยงpublish_link: Stringยงfolder_paths: Vec<FolderPath>ยงread_permission: NotePermissionRoleยงwrite_permission: NotePermissionRoleTrait Implementationsยง
Sourceยงimpl<'de> Deserialize<'de> for Note
impl<'de> Deserialize<'de> for Note
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 Note
impl StructuralPartialEq for Note
Auto Trait Implementationsยง
impl Freeze for Note
impl RefUnwindSafe for Note
impl Send for Note
impl Sync for Note
impl Unpin for Note
impl UnsafeUnpin for Note
impl UnwindSafe for Note
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
Sourceยงimpl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Sourceยงimpl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Sourceยงimpl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Sourceยงfn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.