pub struct JsAssignedEvent {
pub source: String,
pub target: String,
pub unassign_id: String,
pub submitter: String,
pub reassignment_counter: i64,
pub created_event: Box<CreatedEvent>,
}
Expand description
JsAssignedEvent : Records that a contract has been assigned, and it can be used on the target synchronizer.
Fields§
§source: String
The ID of the source synchronizer. Must be a valid synchronizer id. Required
target: String
The ID of the target synchronizer. Must be a valid synchronizer id. Required
unassign_id: String
The ID from the unassigned event. For correlation capabilities. For one contract the (unassign_id, source synchronizer) pair is unique. Must be a valid LedgerString (as described in value.proto
). Required
submitter: String
Party on whose behalf the assign command was executed. Empty if the assignment happened offline via the repair service. Must be a valid PartyIdString (as described in value.proto
). Optional
reassignment_counter: i64
Each corresponding assigned and unassigned event has the same reassignment_counter. This strictly increases with each unassign command for the same contract. Creation of the contract corresponds to reassignment_counter equals zero. Required
created_event: Box<CreatedEvent>
Implementations§
Source§impl JsAssignedEvent
impl JsAssignedEvent
Sourcepub fn new(
source: String,
target: String,
unassign_id: String,
submitter: String,
reassignment_counter: i64,
created_event: CreatedEvent,
) -> JsAssignedEvent
pub fn new( source: String, target: String, unassign_id: String, submitter: String, reassignment_counter: i64, created_event: CreatedEvent, ) -> JsAssignedEvent
Records that a contract has been assigned, and it can be used on the target synchronizer.
Trait Implementations§
Source§impl Clone for JsAssignedEvent
impl Clone for JsAssignedEvent
Source§fn clone(&self) -> JsAssignedEvent
fn clone(&self) -> JsAssignedEvent
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more