diff options
Diffstat (limited to 'crdt/src/op.rs')
| -rw-r--r-- | crdt/src/op.rs | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/crdt/src/op.rs b/crdt/src/op.rs deleted file mode 100644 index 8f5f8b5..0000000 --- a/crdt/src/op.rs +++ /dev/null @@ -1,21 +0,0 @@ -use uuid::Uuid; - -use crate::vector_clock::VectorClock; - -pub struct Op { - pub(crate) id: Uuid, - pub(crate) clock: VectorClock, - pub(crate) kind: OpKind, -} - -pub enum OpKind { - CreateGrid(CreateGrid), - ChangeSubdivisions(ChangeSubdivisions), -} - -pub struct CreateGrid { - pub(crate) rows: usize, - pub(crate) base_cells_per_row: usize, -} - -pub struct ChangeSubdivisions {} |
