File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed
Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -5,11 +5,13 @@ use tracing::field;
55use crate :: values:: * ;
66
77// Implemented on the EventBuilder types
8+ #[ allow( dead_code) ]
89pub ( crate ) trait AddFieldAndValue {
910 fn add_field_value ( & mut self , fv : & crate :: values:: FieldAndValue ) ;
1011}
1112
1213// We need a wrapper because we cannot implement an external trait (field::Visit) on an external type (EventBuilder)
14+ #[ allow( dead_code) ]
1315pub ( crate ) struct EventBuilderVisitorWrapper < T : AddFieldAndValue > {
1416 wrapped : T ,
1517}
Original file line number Diff line number Diff line change @@ -73,6 +73,7 @@ impl From<char> for ValueTypes {
7373 }
7474}
7575
76+ #[ allow( dead_code) ]
7677pub ( crate ) struct FieldAndValue < ' a > {
7778 #[ allow( dead_code) ]
7879 pub ( crate ) field_name : & ' static str ,
You can’t perform that action at this time.
0 commit comments