pub struct OutboxMessageId(/* private fields */);Expand description
English: Exposes core 0.4’s domain, persistence, and event-workflow API.
日本語: コア 0.4 のドメイン、永続化、イベント処理 API を公開します。 English: Exposes the outbox persistence port, owned claims, and acknowledgement identifiers.
日本語: アウトボックス永続化ポート、所有された取得結果、確認応答用の識別子を公開します。 English: Owned adapter-assigned identifier for an outbox message.
The string is not validated or generated here. It need not equal a domain event’s delivery identifier; uniqueness and identifier scope belong to the outbox adapter.
日本語: アダプターが割り当てる、所有されたアウトボックスメッセージ識別子です。
ここでは文字列を検証・生成しません。ドメインイベントの配信識別子と同じである 必要はなく、一意性と識別子のスコープはアウトボックスアダプターが定めます。
Implementations§
Source§impl OutboxMessageId
impl OutboxMessageId
Sourcepub fn new(value: impl Into<String>) -> OutboxMessageId
pub fn new(value: impl Into<String>) -> OutboxMessageId
English: Converts value to the stored string, accepting empty strings as well.
日本語: value を保存用の文字列へ変換します。空文字列も受け付けます。
Sourcepub fn as_str(&self) -> &str
pub fn as_str(&self) -> &str
English: Borrows the message identifier without cloning its string.
日本語: 文字列を複製せずにメッセージ識別子を借用します。
Sourcepub fn into_inner(self) -> String
pub fn into_inner(self) -> String
English: Consumes the identifier and returns its owned string.
日本語: 識別子を消費し、所有された文字列を返します。
Trait Implementations§
Source§impl Clone for OutboxMessageId
impl Clone for OutboxMessageId
Source§fn clone(&self) -> OutboxMessageId
fn clone(&self) -> OutboxMessageId
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more