@@ -17,6 +17,7 @@ use std::{
#[derive(Clone, Debug, Derivative)]
pub struct EventRequest {
+ #[allow(dead_code)]
pub(crate) id: String,
pub(crate) event: Event,
#[derivative(Debug = "ignore")]
@@ -101,6 +101,7 @@ pub struct DatabaseCustomizerConfig {
pub(crate) journal_mode: SQLiteJournalMode,
pub(crate) synchronous: SQLiteSynchronous,
pub(crate) busy_timeout: i32,
pub(crate) secure_delete: bool,
}
@@ -4,7 +4,10 @@ const MAX_UNDOS: usize = 20;
#[derive(Debug, Clone)]
pub struct UndoResult {
success: bool,
+
len: usize,
@@ -16,6 +19,7 @@ impl UndoResult {
pub struct History {
cur_undo: usize,
undos: Vec<Delta>,
redoes: Vec<Delta>,