pub struct TrustTokenOperationDoneParams {
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. trustTokenOperationDone
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.
Trait Implementations§
Source§impl Clone for TrustTokenOperationDoneParams
impl Clone for TrustTokenOperationDoneParams
Source§fn clone(&self) -> TrustTokenOperationDoneParams
fn clone(&self) -> TrustTokenOperationDoneParams
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for TrustTokenOperationDoneParams
impl<'de> Deserialize<'de> for TrustTokenOperationDoneParams
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for TrustTokenOperationDoneParams
impl PartialEq for TrustTokenOperationDoneParams
Source§fn eq(&self, other: &TrustTokenOperationDoneParams) -> bool
fn eq(&self, other: &TrustTokenOperationDoneParams) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TrustTokenOperationDoneParams
Auto Trait Implementations§
impl Freeze for TrustTokenOperationDoneParams
impl RefUnwindSafe for TrustTokenOperationDoneParams
impl Send for TrustTokenOperationDoneParams
impl Sync for TrustTokenOperationDoneParams
impl Unpin for TrustTokenOperationDoneParams
impl UnsafeUnpin for TrustTokenOperationDoneParams
impl UnwindSafe for TrustTokenOperationDoneParams
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more