pub struct TransactionEnd {
pub transaction_id: TransactionId,
pub session_id: Option<SessionId>,
pub channel_id: ChannelId,
pub kind: TransactionEndKind,
pub prior_terminal_cause: Option<TransactionEndKind>,
pub event_delivery: EventDeliveryOutcome,
pub emitted_events: u64,
pub usage: TransactionUsage,
pub diagnostics: Vec<TransactionDiagnostic>,
}Expand description
Terminal transaction result.
Fields§
§transaction_id: TransactionIdTransaction id.
session_id: Option<SessionId>Session when established.
channel_id: ChannelIdChannel.
kind: TransactionEndKindTerminal kind.
prior_terminal_cause: Option<TransactionEndKind>Prior cause when terminal selection raced (optional).
event_delivery: EventDeliveryOutcomeWhether the terminal event was accepted by the sink.
emitted_events: u64Number of events emitted including Ended.
usage: TransactionUsageBounded usage facts.
diagnostics: Vec<TransactionDiagnostic>Safe diagnostics.
Trait Implementations§
Source§impl Clone for TransactionEnd
impl Clone for TransactionEnd
Source§fn clone(&self) -> TransactionEnd
fn clone(&self) -> TransactionEnd
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TransactionEnd
impl Debug for TransactionEnd
Source§impl<'de> Deserialize<'de> for TransactionEnd
impl<'de> Deserialize<'de> for TransactionEnd
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
impl Eq for TransactionEnd
Source§impl PartialEq for TransactionEnd
impl PartialEq for TransactionEnd
Source§impl Serialize for TransactionEnd
impl Serialize for TransactionEnd
impl StructuralPartialEq for TransactionEnd
Auto Trait Implementations§
impl Freeze for TransactionEnd
impl RefUnwindSafe for TransactionEnd
impl Send for TransactionEnd
impl Sync for TransactionEnd
impl Unpin for TransactionEnd
impl UnsafeUnpin for TransactionEnd
impl UnwindSafe for TransactionEnd
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