pub struct ReassignmentCommands {
pub workflow_id: Option<String>,
pub user_id: Option<String>,
pub command_id: String,
pub submitter: String,
pub submission_id: Option<String>,
pub commands: Vec<ReassignmentCommand>,
}Fields§
§workflow_id: Option<String>Identifier of the on-ledger workflow that this command is a part of. Must be a valid LedgerString (as described in value.proto). Optional
user_id: Option<String>Uniquely identifies the participant user that issued the command. Must be a valid UserIdString (as described in value.proto). Required unless authentication is used with a user token. In that case, the token’s user-id will be used for the request’s user_id. Optional
command_id: StringUniquely identifies the command. The triple (user_id, submitter, command_id) constitutes the change ID for the intended ledger change. The change ID can be used for matching the intended ledger changes with all their completions. Must be a valid LedgerString (as described in value.proto). Required
submitter: StringParty on whose behalf the command should be executed. If ledger API authorization is enabled, then the authorization metadata must authorize the sender of the request to act on behalf of the given party. Must be a valid PartyIdString (as described in value.proto). Required
submission_id: Option<String>A unique identifier to distinguish completions for different submissions with the same change ID. Typically a random UUID. Applications are expected to use a different UUID for each retry of a submission with the same change ID. Must be a valid LedgerString (as described in value.proto). If omitted, the participant or the committer may set a value of their choice. Optional
commands: Vec<ReassignmentCommand>Individual elements of this reassignment. Must be non-empty. Required: must be non-empty
Implementations§
Source§impl ReassignmentCommands
impl ReassignmentCommands
pub fn new( command_id: String, submitter: String, commands: Vec<ReassignmentCommand>, ) -> ReassignmentCommands
Trait Implementations§
Source§impl Clone for ReassignmentCommands
impl Clone for ReassignmentCommands
Source§fn clone(&self) -> ReassignmentCommands
fn clone(&self) -> ReassignmentCommands
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more