#[non_exhaustive]pub struct ScanTransaction {
pub update_id: String,
pub migration_id: i64,
pub workflow_id: String,
pub record_time: String,
pub synchronizer_id: String,
pub effective_at: String,
pub root_event_ids: Vec<String>,
pub events_by_id: BTreeMap<String, ScanEvent>,
pub external_transaction_hash: Option<String>,
}Expand description
A transaction in the update history.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.update_id: StringThe update id.
migration_id: i64The migration the transaction was recorded in.
workflow_id: StringThe workflow id the submitter gave, empty when it gave none.
record_time: StringWhen the sequencer recorded it.
synchronizer_id: StringThe synchronizer it was sequenced on.
effective_at: StringThe ledger effective time.
root_event_ids: Vec<String>The ids of the root events, in execution order.
events_by_id: BTreeMap<String, ScanEvent>Every event of the transaction by its id.
external_transaction_hash: Option<String>The hash an external party signed, for an externally signed transaction.
Trait Implementations§
Source§impl Clone for ScanTransaction
impl Clone for ScanTransaction
Source§impl Debug for ScanTransaction
impl Debug for ScanTransaction
Source§impl<'de> Deserialize<'de> for ScanTransaction
impl<'de> Deserialize<'de> for ScanTransaction
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 Forget for ScanTransaction
impl Freeze for ScanTransactionwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<String>: Freeze,
*const LeafNode<String, ScanEvent> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, ScanEvent)>>: Freeze,
impl Move for ScanTransaction
impl RefUnwindSafe for ScanTransaction
impl Send for ScanTransaction
impl Sync for ScanTransaction
impl Unpin for ScanTransaction
impl UnsafeUnpin for ScanTransactionwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
*const LeafNode<String, ScanEvent> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, ScanEvent)>>: UnsafeUnpin,
impl UnwindSafe for ScanTransaction
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request