EventRequest is an enum that represents all valid event requests in TAPLE. Each variant corresponds to a specific operation that can be performed on a subject in the network.
Variants
Create
A request to create a new subject in the network. Type:StartRequest
See StartRequest for detailed information.
Fact
A request to add a fact (state change) to an existing subject. Type:FactRequest
See FactRequest for detailed information.
Transfer
A request to transfer ownership of a subject to a new owner. Type:TransferRequest
See TransferRequest for detailed information.
EOL
A request to mark a subject as end-of-life, indicating it will no longer accept new events. Type:EOLRequest
See EOLRequest for detailed information.
Methods
requires_eval_appr
Determines whether the request requires evaluation and approval.true for Fact requests, false for Create, Transfer, and EOL requests.
hash_id
Generates a hash identifier for the event request.The digest derivator algorithm to use for hashing
Result containing the DigestIdentifier on success or a SubjectError on failure.
