pub struct SagaCompensation {
pub compensation_id: String,
pub original_transaction_id: String,
pub compensation_activity: String,
pub status: CompensationStatus,
pub timestamp: DateTime<Utc>,
pub error: Option<String>,
}
Expand description
Saga 補償記録
Fields§
§compensation_id: String
§original_transaction_id: String
§compensation_activity: String
§status: CompensationStatus
§timestamp: DateTime<Utc>
§error: Option<String>
Trait Implementations§
Source§impl Clone for SagaCompensation
impl Clone for SagaCompensation
Source§fn clone(&self) -> SagaCompensation
fn clone(&self) -> SagaCompensation
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 SagaCompensation
impl Debug for SagaCompensation
Source§impl<'de> Deserialize<'de> for SagaCompensation
impl<'de> Deserialize<'de> for SagaCompensation
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 SagaCompensation
impl RefUnwindSafe for SagaCompensation
impl Send for SagaCompensation
impl Sync for SagaCompensation
impl Unpin for SagaCompensation
impl UnwindSafe for SagaCompensation
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