From ac3ecc82b76a2b91f5ffb5309bece02cef51d85f Mon Sep 17 00:00:00 2001 From: Jennifer Glauche Date: Tue, 29 Oct 2019 16:49:00 +0100 Subject: [PATCH] add documentation to metadata fields --- src/entities/account.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/entities/account.rs b/src/entities/account.rs index 0b8d1dd..499fb0a 100644 --- a/src/entities/account.rs +++ b/src/entities/account.rs @@ -54,7 +54,9 @@ pub struct Account { /// A single name: value pair from a user's profile #[derive(Debug, Clone, Serialize, Deserialize, PartialEq, Default)] pub struct MetadataField { + /// name part of metadata pub name: String, + /// value part of metadata pub value: String, }