File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -76,6 +76,7 @@ impl GithubClient {
7676    )  -> BoxFuture < Result < Response ,  reqwest:: Error > >  { 
7777        #[ derive( Debug ,  serde:: Deserialize ) ]  
7878        struct  RateLimit  { 
79+             #[ allow( unused) ]  
7980            pub  limit :  u64 , 
8081            pub  remaining :  u64 , 
8182            pub  reset :  u64 , 
@@ -90,7 +91,9 @@ impl GithubClient {
9091        struct  Resources  { 
9192            pub  core :  RateLimit , 
9293            pub  search :  RateLimit , 
94+             #[ allow( unused) ]  
9395            pub  graphql :  RateLimit , 
96+             #[ allow( unused) ]  
9497            pub  source_import :  RateLimit , 
9598        } 
9699
Original file line number Diff line number Diff line change @@ -22,12 +22,14 @@ pub struct Request {
2222#[ derive( Debug ,  serde:: Deserialize ) ]  
2323struct  Message  { 
2424    sender_id :  u64 , 
25+     #[ allow( unused) ]  
2526    recipient_id :  u64 , 
2627    sender_short_name :  Option < String > , 
2728    sender_full_name :  String , 
2829    stream_id :  Option < u64 > , 
2930    // The topic of the incoming message. Not the stream name. 
3031    subject :  Option < String > , 
32+     #[ allow( unused) ]  
3133    #[ serde( rename = "type" ) ]  
3234    type_ :  String , 
3335} 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments