Skip to content

Commit 274ea73

Browse files
Add more unsigned serializers
1 parent 7df0b3b commit 274ea73

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/domain/rfcbot.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ use super::schema::*;
77
pub struct NewPoll<'a> {
88
pub fk_issue: i32,
99
pub fk_initiator: i32,
10+
//#[serde(serialize_with = "super::unsigned")]
1011
pub fk_initiating_comment: i32,
12+
//#[serde(serialize_with = "super::unsigned")]
1113
pub fk_bot_tracking_comment: i32,
1214
pub poll_question: &'a str,
1315
pub poll_created_at: NaiveDateTime,
@@ -38,8 +40,10 @@ pub struct Poll {
3840
pub struct NewFcpProposal<'a> {
3941
pub fk_issue: i32,
4042
pub fk_initiator: i32,
43+
//#[serde(serialize_with = "super::unsigned")]
4144
pub fk_initiating_comment: i32,
4245
pub disposition: &'a str,
46+
//#[serde(serialize_with = "super::unsigned")]
4347
pub fk_bot_tracking_comment: i32,
4448
pub fcp_start: Option<NaiveDateTime>,
4549
pub fcp_closed: bool,

0 commit comments

Comments
 (0)