pub struct Note {Show 15 fields
pub id: String,
pub title: String,
pub tags: Vec<String>,
pub last_changed_at: DateTime<Utc>,
pub created_at: 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 read_permission: NotePermissionRole,
pub write_permission: NotePermissionRole,
}
Fieldsยง
ยงid: String
ยงtitle: String
ยงlast_changed_at: DateTime<Utc>
ยงcreated_at: 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
ยงread_permission: NotePermissionRole
ยงwrite_permission: NotePermissionRole
Trait 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 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.