pub struct ArchivedEvent {
pub offset: i64,
pub node_id: i32,
pub contract_id: String,
pub template_id: String,
pub witness_parties: Vec<String>,
pub package_name: String,
pub implemented_interfaces: Option<Vec<String>>,
}Expand description
ArchivedEvent : Records that a contract has been archived, and choices may no longer be exercised on it.
Fields§
§offset: i64The offset of origin. Offsets are managed by the participant nodes. Transactions can thus NOT be assumed to have the same offsets on different participant nodes. It is a valid absolute offset (positive integer) Required
node_id: i32The position of this event in the originating transaction or reassignment. Node IDs are not necessarily equal across participants, as these may see different projections/parts of transactions. Must be valid node ID (non-negative integer) Required
contract_id: StringThe ID of the archived contract. Must be a valid LedgerString (as described in value.proto). Required
template_id: StringIdentifies the template that defines the choice that archived the contract. This template’s package-id may differ from the target contract’s package-id if the target contract has been upgraded or downgraded. The identifier uses the package-id reference format. Required
witness_parties: Vec<String>The parties that are notified of this event. For an ArchivedEvent, these are the intersection of the stakeholders of the contract in question and the parties specified in the TransactionFilter. The stakeholders are the union of the signatories and the observers of the contract. Each one of its elements must be a valid PartyIdString (as described in value.proto). Required: must be non-empty
package_name: StringThe package name of the contract. Required
implemented_interfaces: Option<Vec<String>>The interfaces implemented by the target template that have been matched from the interface filter query. Populated only in case interface filters with include_interface_view set. If defined, the identifier uses the package-id reference format. Optional: can be empty
Implementations§
Trait Implementations§
Source§impl Clone for ArchivedEvent
impl Clone for ArchivedEvent
Source§fn clone(&self) -> ArchivedEvent
fn clone(&self) -> ArchivedEvent
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more