pub struct CreateNoteOptions {
pub title: Option<String>,
pub content: Option<String>,
pub read_permission: Option<NotePermissionRole>,
pub write_permission: Option<NotePermissionRole>,
pub comment_permission: Option<CommentPermissionType>,
pub permalink: Option<String>,
}
Fieldsยง
ยงtitle: Option<String>
ยงcontent: Option<String>
ยงread_permission: Option<NotePermissionRole>
ยงwrite_permission: Option<NotePermissionRole>
ยงcomment_permission: Option<CommentPermissionType>
ยงpermalink: Option<String>
Trait Implementationsยง
Sourceยงimpl Clone for CreateNoteOptions
impl Clone for CreateNoteOptions
Sourceยงfn clone(&self) -> CreateNoteOptions
fn clone(&self) -> CreateNoteOptions
Returns a duplicate of the value. Read more
1.0.0 ยท Sourceยงfn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSourceยงimpl Debug for CreateNoteOptions
impl Debug for CreateNoteOptions
Sourceยงimpl PartialEq for CreateNoteOptions
impl PartialEq for CreateNoteOptions
Sourceยงimpl Serialize for CreateNoteOptions
impl Serialize for CreateNoteOptions
impl Eq for CreateNoteOptions
impl StructuralPartialEq for CreateNoteOptions
Auto Trait Implementationsยง
impl Freeze for CreateNoteOptions
impl RefUnwindSafe for CreateNoteOptions
impl Send for CreateNoteOptions
impl Sync for CreateNoteOptions
impl Unpin for CreateNoteOptions
impl UnwindSafe for CreateNoteOptions
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.