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.
Option<NewState>
1 parent f7f0c84 commit 5772bd0Copy full SHA for 5772bd0
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
- pub new_state: NewState,
11
- /// ApproveState can be None if the channel is brand new and we have only NewState atm
+ /// NewState can be None if the channel is brand new
+ pub new_state: Option<NewState>,
12
+ /// ApproveState can be None if the channel is brand new
13
pub approved_state: Option<ApproveState>,
14
}
15
0 commit comments