File tree Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 11use log:: Level ;
22use log:: LevelFilter ;
33
4- #[ derive( Debug ) ]
4+ #[ derive( Debug , Clone ) ]
55pub ( crate ) struct Directive {
66 pub ( crate ) name : Option < String > ,
77 pub ( crate ) level : LevelFilter ,
Original file line number Diff line number Diff line change @@ -192,6 +192,7 @@ impl fmt::Debug for Builder {
192192/// Use the [`Builder`] type to parse and construct a `Filter`.
193193///
194194/// [`Builder`]: struct.Builder.html
195+ #[ derive( Clone ) ]
195196pub struct Filter {
196197 directives : Vec < Directive > ,
197198 filter : Option < FilterOp > ,
Original file line number Diff line number Diff line change 11use std:: fmt;
22
3- #[ derive( Debug ) ]
3+ #[ derive( Debug , Clone ) ]
44pub ( crate ) struct FilterOp {
55 #[ cfg( feature = "regex" ) ]
66 inner : regex:: Regex ,
You can’t perform that action at this time.
0 commit comments