pub struct TrustTokenOperationDoneEvent {
pub status: TrustTokenOperationDoneStatus,
pub type: TrustTokenOperationType,
pub request_id: RequestId,
pub top_level_origin: Option<String>,
pub issuer_origin: Option<String>,
pub issued_token_count: Option<i64>,
}Expand description
Fired exactly once for each Trust Token operation. Depending on the type of the operation and whether the operation succeeded or failed, the event is fired before the corresponding request was sent or after the response was received.
Experimental: may change without notice.
Payload of the Network.trustTokenOperationDone event.
Fields§
§status: TrustTokenOperationDoneStatusDetailed success or error status of the operation. ‘AlreadyExists’ also signifies a successful operation, as the result of the operation already exists und thus, the operation was abort preemptively (e.g. a cache hit).
type: TrustTokenOperationType§request_id: RequestId§top_level_origin: Option<String>Top level origin. The context in which the operation was attempted.
issuer_origin: Option<String>Origin of the issuer in case of a “Issuance” or “Redemption” operation.
issued_token_count: Option<i64>The number of obtained Trust Tokens on a successful “Issuance” operation.