ddd-toolkit-core 0.4.1

Core traits and helpers for Domain-Driven Design: entities, value objects, aggregates, persistence, CQRS, and event-driven workflows.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
/// **English:**<br>
/// A zero-sized marker for metadata associated with a secret.
///
/// It stores no secret value or descriptive fields. The marker alone does not redact,
/// zeroize, or restrict access to any data; use [`crate::Secret`] to wrap a value.
///
/// **日本語:**<br>
/// 秘密情報に関連するメタデータのための、サイズがゼロのマーカーです。
///
/// 秘密の値や説明用のフィールドは保持しません。このマーカー自体はデータの秘匿化、ゼロ化、
/// アクセス制限を行いません。値を包むには [`crate::Secret`] を使います。
#[derive(Clone, Copy, Debug, Default, Eq, Hash, PartialEq)]
pub struct SecretMetadata;