Skip to content

Commit 97c62e7

Browse files
committed
wip
1 parent aa81b76 commit 97c62e7

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

rust/signed_doc/src/metadata/extra_fields.rs

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -31,31 +31,31 @@ const CATEGORY_ID_KEY: &str = "category_id";
3131
pub struct ExtraFields {
3232
/// Reference to the latest document.
3333
#[serde(rename = "ref", skip_serializing_if = "Option::is_none")]
34-
pub(super) doc_ref: Option<DocumentRef>,
34+
doc_ref: Option<DocumentRef>,
3535
/// Reference to the document template.
3636
#[serde(skip_serializing_if = "Option::is_none")]
37-
pub(super) template: Option<DocumentRef>,
37+
template: Option<DocumentRef>,
3838
/// Reference to the document reply.
3939
#[serde(skip_serializing_if = "Option::is_none")]
40-
pub(super) reply: Option<DocumentRef>,
40+
reply: Option<DocumentRef>,
4141
/// Reference to the document section.
4242
#[serde(skip_serializing_if = "Option::is_none")]
43-
pub(super) section: Option<String>,
43+
section: Option<String>,
4444
/// Reference to the document collaborators. Collaborator type is TBD.
4545
#[serde(default = "Vec::new", skip_serializing_if = "Vec::is_empty")]
46-
pub(super) collabs: Vec<String>,
46+
collabs: Vec<String>,
4747
/// Unique identifier for the brand that is running the voting.
4848
#[serde(skip_serializing_if = "Option::is_none")]
49-
pub(super) brand_id: Option<UuidV4>,
49+
brand_id: Option<UuidV4>,
5050
/// Unique identifier for the campaign of voting.
5151
#[serde(skip_serializing_if = "Option::is_none")]
52-
pub(super) campaign_id: Option<UuidV4>,
52+
campaign_id: Option<UuidV4>,
5353
/// Unique identifier for the election.
5454
#[serde(skip_serializing_if = "Option::is_none")]
55-
pub(super) election_id: Option<UuidV4>,
55+
election_id: Option<UuidV4>,
5656
/// Unique identifier for the voting category as a collection of proposals.
5757
#[serde(skip_serializing_if = "Option::is_none")]
58-
pub(super) category_id: Option<UuidV4>,
58+
category_id: Option<UuidV4>,
5959
}
6060

6161
impl ExtraFields {

0 commit comments

Comments
 (0)