pub struct SagaPattern {
pub name: String,
pub description: Option<String>,
pub main_activities: Vec<String>,
pub compensation_activities: Vec<String>,
pub timeout: Option<Duration>,
}
Expand description
Sagaパターン定義
Fields§
§name: String
§description: Option<String>
§main_activities: Vec<String>
§compensation_activities: Vec<String>
§timeout: Option<Duration>
Trait Implementations§
Source§impl Clone for SagaPattern
impl Clone for SagaPattern
Source§fn clone(&self) -> SagaPattern
fn clone(&self) -> SagaPattern
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 SagaPattern
impl Debug for SagaPattern
Source§impl<'de> Deserialize<'de> for SagaPattern
impl<'de> Deserialize<'de> for SagaPattern
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 SagaPattern
impl RefUnwindSafe for SagaPattern
impl Send for SagaPattern
impl Sync for SagaPattern
impl Unpin for SagaPattern
impl UnwindSafe for SagaPattern
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