pub struct VerifiedIdentity {
pub saga_id: SagaId,
pub tenant: TenantId,
pub workflow: WorkflowName,
pub definition_version: DefinitionVersion,
pub definition_digest: String,
pub step: StepName,
pub phase: StepPhase,
pub attempt: AttemptNo,
pub effect: EffectId,
pub command: CommandId,
}Expand description
业务作用:envelope 通过身份复验后的强类型视图,业务路径只消费本类型。
Fields§
§saga_id: SagaId实例身份。
tenant: TenantId租户身份。
workflow: WorkflowNameworkflow 名称。
definition_version: DefinitionVersiondefinition 版本。
definition_digest: Stringdefinition 摘要。
step: StepName步骤名称。
phase: StepPhase执行阶段。
attempt: AttemptNo尝试序号。
effect: EffectId复验一致的效果身份。
command: CommandId复验一致的命令身份。
Trait Implementations§
Source§impl Clone for VerifiedIdentity
impl Clone for VerifiedIdentity
Auto Trait Implementations§
impl Forget for VerifiedIdentity
impl Freeze for VerifiedIdentity
impl Move for VerifiedIdentity
impl RefUnwindSafe for VerifiedIdentity
impl Send for VerifiedIdentity
impl Sync for VerifiedIdentity
impl Unpin for VerifiedIdentity
impl UnsafeUnpin for VerifiedIdentity
impl UnwindSafe for VerifiedIdentity
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more