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 32fe7de commit 9e372b1Copy full SHA for 9e372b1
crates/common/src/types/admin_key.rs
@@ -5,6 +5,7 @@ use serde::Serialize;
5
use sync_types::headers::ConvexAdminAuthorization;
6
7
/// Encrypted system key
8
+#[derive(Clone)]
9
pub struct SystemKey(String);
10
11
impl SystemKey {
@@ -13,6 +14,13 @@ impl SystemKey {
13
14
&self.0
15
}
16
17
+
18
+impl std::fmt::Debug for SystemKey {
19
+ fn fmt(&self, f: &mut Formatter<'_>) -> core::fmt::Result {
20
+ f.write_str("SystemKey(*****)")
21
+ }
22
+}
23
24
/// Encrypted admin key
25
#[derive(Serialize, Clone)]
26
pub struct AdminKey(String);
0 commit comments