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 copy 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