pub struct AdvancedSagaPattern {
pub name: String,
pub description: Option<String>,
pub version: String,
pub main_flow: WorkflowStrategyOp,
pub compensations: HashMap<String, WorkflowStrategyOp>,
pub config: SagaConfig,
pub dependencies: HashMap<String, Vec<String>>,
}
Expand description
高度なSagaパターン定義
Fields§
§name: String
§description: Option<String>
§version: String
§main_flow: WorkflowStrategyOp
Sagaのメイン処理フロー
compensations: HashMap<String, WorkflowStrategyOp>
補償処理定義
config: SagaConfig
Sagaレベルの設定
dependencies: HashMap<String, Vec<String>>
依存関係と実行順序
Trait Implementations§
Source§impl Clone for AdvancedSagaPattern
impl Clone for AdvancedSagaPattern
Source§fn clone(&self) -> AdvancedSagaPattern
fn clone(&self) -> AdvancedSagaPattern
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for AdvancedSagaPattern
impl Debug for AdvancedSagaPattern
Source§impl<'de> Deserialize<'de> for AdvancedSagaPattern
impl<'de> Deserialize<'de> for AdvancedSagaPattern
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for AdvancedSagaPattern
impl RefUnwindSafe for AdvancedSagaPattern
impl Send for AdvancedSagaPattern
impl Sync for AdvancedSagaPattern
impl Unpin for AdvancedSagaPattern
impl UnwindSafe for AdvancedSagaPattern
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