Commit 8592e1e 1 parent 5b34a9d commit 8592e1e Copy full SHA for 8592e1e
File tree 1 file changed +9
-1
lines changed
1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -685,13 +685,21 @@ impl Handler<GetProjectState> for Project {
685
685
/// - Validate origins and public keys
686
686
/// - Quotas with a limit of `0`
687
687
/// - Cached rate limits
688
- // #[derive(Debug)] // TODO: Fix?
689
688
pub struct CheckEnvelope {
690
689
envelope : Envelope ,
691
690
fetch : bool ,
692
691
outcome_producer : Addr < OutcomeProducer > ,
693
692
}
694
693
694
+ impl std:: fmt:: Debug for CheckEnvelope {
695
+ fn fmt ( & self , f : & mut std:: fmt:: Formatter < ' _ > ) -> std:: fmt:: Result {
696
+ f. debug_struct ( "CheckEnvelope" )
697
+ . field ( "envelope" , & self . envelope )
698
+ . field ( "fetch" , & self . fetch )
699
+ . finish ( )
700
+ }
701
+ }
702
+
695
703
impl CheckEnvelope {
696
704
/// Fetches the project state and checks the envelope.
697
705
pub fn fetched ( envelope : Envelope , outcome_producer : & Addr < OutcomeProducer > ) -> Self {
You can’t perform that action at this time.
0 commit comments