We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b16b741 commit 5c8b3ebCopy full SHA for 5c8b3eb
src/lib/certificates/builder.rs
@@ -17,7 +17,7 @@ use crate::sensitive_attributes::SensitiveAttributeBuilder;
17
///
18
/// This builder extends the base X.509 certificate builder with support
19
/// for Keeta KYC attributes, both plain text and sensitive (encrypted).
20
-#[derive(Debug)]
+#[derive(Debug, Default)]
21
pub struct CertificateBuilder {
22
/// The underlying X.509 certificate builder
23
inner: X509CertificateBuilder,
@@ -218,12 +218,6 @@ impl CertificateBuilder {
218
}
219
220
221
-impl Default for CertificateBuilder {
222
- fn default() -> Self {
223
- Self { inner: X509CertificateBuilder::new(), kyc_attributes: HashMap::new() }
224
- }
225
-}
226
-
227
#[cfg(test)]
228
mod tests {
229
use accounts::IntoSecret;
0 commit comments