add documentation to metadata fields

master
Jennifer Glauche 5 years ago committed by Paul Woolcock
parent 1dd2963cf3
commit ac3ecc82b7
  1. 2
      src/entities/account.rs

@ -54,7 +54,9 @@ pub struct Account {
/// A single name: value pair from a user's profile /// A single name: value pair from a user's profile
#[derive(Debug, Clone, Serialize, Deserialize, PartialEq, Default)] #[derive(Debug, Clone, Serialize, Deserialize, PartialEq, Default)]
pub struct MetadataField { pub struct MetadataField {
/// name part of metadata
pub name: String, pub name: String,
/// value part of metadata
pub value: String, pub value: String,
} }

Loading…
Cancel
Save