reifydb_core/testing/
mod.rs1use crate::value::column::columns::Columns;
13
14#[derive(Clone, Debug)]
15pub struct CapturedEvent {
16 pub sequence: u64,
17 pub namespace: String,
18 pub event: String,
19 pub variant: String,
20 pub depth: u8,
21 pub columns: Columns,
22}
23
24#[derive(Clone, Debug)]
25pub struct CapturedInvocation {
26 pub sequence: u64,
27 pub namespace: String,
28 pub handler: String,
29 pub event: String,
30 pub variant: String,
31 pub duration_ns: u64,
32 pub outcome: String,
33 pub message: String,
34}
35
36pub struct TestingChanged {
37 pub shape_type: &'static str,
38}
39
40impl TestingChanged {
41 pub fn new(shape_type: &'static str) -> Self {
42 Self {
43 shape_type,
44 }
45 }
46}