Skip to content

Commit

Permalink
Derive serialize for UserAgent (#5210) (#5217)
Browse files Browse the repository at this point in the history
  • Loading branch information
octol authored Dec 5, 2024
1 parent 15c3012 commit 6eddc91
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion common/http-api-client/src/user_agent.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@ use std::fmt;

use http::HeaderValue;
use nym_bin_common::build_information::{BinaryBuildInformation, BinaryBuildInformationOwned};
use serde::{Deserialize, Serialize};

#[derive(Clone, Debug)]
#[derive(Clone, Debug, Serialize, Deserialize, PartialEq, Eq)]
pub struct UserAgent {
pub application: String,
pub version: String,
Expand Down

0 comments on commit 6eddc91

Please sign in to comment.