Skip to content

Instantly share code, notes, and snippets.

@djmcgill
Created December 26, 2019 12:59
Show Gist options
  • Save djmcgill/04b89089ae8d3b2fc1fbac35b7832985 to your computer and use it in GitHub Desktop.
Save djmcgill/04b89089ae8d3b2fc1fbac35b7832985 to your computer and use it in GitHub Desktop.
use crate::user::UserReply;
use serde::{Deserialize, Serialize};
#[derive(Serialize, Deserialize)]
#[serde(remote = "UserReply")]
pub struct MyUserReply {
pub id: String,
pub first_name: String,
pub last_name: String,
pub date_of_birth: String,
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment