pub enum VoiceDocumentLibraryAction {
CreateFolder {
name: String,
},
RenameFolder {
folder_id: String,
name: String,
},
RemoveFolder {
folder_id: String,
},
ReorderRoot {
root_order: Vec<String>,
},
Rename {
document_path: String,
name: String,
},
Move {
document_path: String,
folder_id: String,
},
Restore {
document_path: String,
},
}Expand description
Library metadata changes never move Markdown files. Restore preserves folders.
Variants§
CreateFolder
RenameFolder
RemoveFolder
ReorderRoot
Mixed folder:
Rename
Move
An empty folder_id moves the document to root.
Restore
Trait Implementations§
Source§impl Clone for VoiceDocumentLibraryAction
impl Clone for VoiceDocumentLibraryAction
Source§impl Debug for VoiceDocumentLibraryAction
impl Debug for VoiceDocumentLibraryAction
Auto Trait Implementations§
impl Freeze for VoiceDocumentLibraryAction
impl RefUnwindSafe for VoiceDocumentLibraryAction
impl Send for VoiceDocumentLibraryAction
impl Sync for VoiceDocumentLibraryAction
impl Unpin for VoiceDocumentLibraryAction
impl UnsafeUnpin for VoiceDocumentLibraryAction
impl UnwindSafe for VoiceDocumentLibraryAction
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