dpp_domain/transfer/status.rs
1//! [`TransferStatus`] — the state of a transfer-of-responsibility flow.
2
3use serde::{Deserialize, Serialize};
4
5/// Status of a transfer-of-responsibility flow.
6#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]
7#[serde(rename_all = "camelCase")]
8#[non_exhaustive]
9pub enum TransferStatus {
10 /// Transfer initiated by the outgoing operator, awaiting acceptance.
11 Initiated,
12 /// Incoming operator has accepted responsibility.
13 Accepted,
14 /// Transfer rejected by the incoming operator.
15 Rejected,
16 /// Transfer cancelled by the outgoing operator before acceptance.
17 Cancelled,
18 /// Transfer completed — DPP now under the new operator's control.
19 Completed,
20}