File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ use crate::types::{DateTime, Json};
8
8
// A multi field pipeline
9
9
#[ enum_def]
10
10
#[ derive( FromRow ) ]
11
+ #[ allow( dead_code) ]
11
12
pub struct Pipeline {
12
13
pub id : i64 ,
13
14
pub name : String ,
@@ -19,6 +20,7 @@ pub struct Pipeline {
19
20
// A model used to perform some task
20
21
#[ enum_def]
21
22
#[ derive( FromRow ) ]
23
+ #[ allow( dead_code) ]
22
24
pub struct Model {
23
25
pub id : i64 ,
24
26
pub created_at : DateTime ,
@@ -29,6 +31,7 @@ pub struct Model {
29
31
// A text splitter
30
32
#[ enum_def]
31
33
#[ derive( FromRow ) ]
34
+ #[ allow( dead_code) ]
32
35
pub struct Splitter {
33
36
pub id : i64 ,
34
37
pub created_at : DateTime ,
@@ -63,6 +66,7 @@ impl Document {
63
66
// A collection of documents
64
67
#[ enum_def]
65
68
#[ derive( FromRow ) ]
69
+ #[ allow( dead_code) ]
66
70
pub struct Collection {
67
71
pub id : i64 ,
68
72
pub created_at : DateTime ,
@@ -74,6 +78,7 @@ pub struct Collection {
74
78
// An embedding
75
79
#[ enum_def]
76
80
#[ derive( FromRow ) ]
81
+ #[ allow( dead_code) ]
77
82
pub struct Embedding {
78
83
pub id : i64 ,
79
84
pub created_at : DateTime ,
@@ -83,6 +88,7 @@ pub struct Embedding {
83
88
84
89
// A chunk of split text
85
90
#[ derive( FromRow ) ]
91
+ #[ allow( dead_code) ]
86
92
pub struct Chunk {
87
93
pub id : i64 ,
88
94
pub created_at : DateTime ,
@@ -93,6 +99,7 @@ pub struct Chunk {
93
99
94
100
// A tsvector of a document
95
101
#[ derive( FromRow ) ]
102
+ #[ allow( dead_code) ]
96
103
pub struct TSVector {
97
104
pub id : i64 ,
98
105
pub created_at : DateTime ,
Original file line number Diff line number Diff line change @@ -175,6 +175,7 @@ impl From<Json> for InvividualSyncStatus {
175
175
}
176
176
177
177
#[ derive( Debug , Clone ) ]
178
+ #[ allow( dead_code) ]
178
179
pub struct PipelineDatabaseData {
179
180
pub id : i64 ,
180
181
pub created_at : DateTime ,
You can’t perform that action at this time.
0 commit comments