#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
pub struct PersonExtra {
#[serde(
rename = "github_profile_id",
default,
with = "::serde_with::rust::double_option",
skip_serializing_if = "Option::is_none"
)]
pub github_profile_id: Option<Option<String>>,
#[serde(
rename = "facebook_profile_id",
default,
with = "::serde_with::rust::double_option",
skip_serializing_if = "Option::is_none"
)]
pub facebook_profile_id: Option<Option<String>>,
#[serde(
rename = "twitter_profile_id",
default,
with = "::serde_with::rust::double_option",
skip_serializing_if = "Option::is_none"
)]
pub twitter_profile_id: Option<Option<String>>,
}
impl PersonExtra {
pub fn new() -> PersonExtra {
PersonExtra {
github_profile_id: None,
facebook_profile_id: None,
twitter_profile_id: None,
}
}
}