We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f6117e commit 155233eCopy full SHA for 155233e
primitives/src/sentry.rs
@@ -7,8 +7,9 @@ use std::collections::HashMap;
7
#[derive(Serialize, Deserialize, Debug)]
8
#[serde(rename_all = "camelCase")]
9
pub struct LastApproved {
10
- new_state: NewState,
11
- approved_state: ApproveState,
+ pub new_state: NewState,
+ /// ApproveState can be None if the channel is brand new and we have only NewState atm
12
+ pub approved_state: Option<ApproveState>,
13
}
14
15
#[serde(tag = "type", rename_all = "SCREAMING_SNAKE_CASE")]
0 commit comments