Skip to content

Commit

Permalink
TUN-4578: Derive default fields for list tunnels endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
Rishabh Bector authored and adamchalmers committed Jun 18, 2021
1 parent acf3822 commit 42ef67a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cloudflare/src/endpoints/argo_tunnel/list_tunnels.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ impl<'a> Endpoint<Vec<Tunnel>, Params> for ListTunnels<'a> {

/// Params for filtering listed tunnels
#[serde_with::skip_serializing_none]
#[derive(Serialize, Clone, Debug)]
#[derive(Serialize, Clone, Debug, Default)]
pub struct Params {
pub name: Option<String>,
pub uuid: Option<String>,
Expand Down

0 comments on commit 42ef67a

Please sign in to comment.