pub struct JsTransactionTree {
pub update_id: String,
pub command_id: String,
pub workflow_id: String,
pub effective_at: Option<String>,
pub offset: i64,
pub events_by_id: HashMap<String, Filters>,
pub synchronizer_id: String,
pub trace_context: Option<Box<TraceContext>>,
pub record_time: String,
}
Expand description
JsTransactionTree : Provided for backwards compatibility, it will be removed in the Canton version 3.4.0. Complete view of an on-ledger transaction.
Fields§
§update_id: String
Assigned by the server. Useful for correlating logs. Must be a valid LedgerString (as described in value.proto
). Required
command_id: String
The ID of the command which resulted in this transaction. Missing for everyone except the submitting party. Must be a valid LedgerString (as described in value.proto
). Optional
workflow_id: String
The workflow ID used in command submission. Only set if the workflow_id
for the command was set. Must be a valid LedgerString (as described in value.proto
). Optional
effective_at: Option<String>
Ledger effective time. Required
offset: i64
The absolute offset. The details of this field are described in community/ledger-api/README.md
. Required, it is a valid absolute offset (positive integer).
events_by_id: HashMap<String, Filters>
§synchronizer_id: String
A valid synchronizer id. Identifies the synchronizer that synchronized the transaction. Required
trace_context: Option<Box<TraceContext>>
§record_time: String
The time at which the transaction was recorded. The record time refers to the synchronizer which synchronized the transaction. Required
Implementations§
Source§impl JsTransactionTree
impl JsTransactionTree
Sourcepub fn new(
update_id: String,
command_id: String,
workflow_id: String,
offset: i64,
events_by_id: HashMap<String, Filters>,
synchronizer_id: String,
record_time: String,
) -> JsTransactionTree
pub fn new( update_id: String, command_id: String, workflow_id: String, offset: i64, events_by_id: HashMap<String, Filters>, synchronizer_id: String, record_time: String, ) -> JsTransactionTree
Provided for backwards compatibility, it will be removed in the Canton version 3.4.0. Complete view of an on-ledger transaction.
Trait Implementations§
Source§impl Clone for JsTransactionTree
impl Clone for JsTransactionTree
Source§fn clone(&self) -> JsTransactionTree
fn clone(&self) -> JsTransactionTree
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more