pub struct EventTrustTokenOperationDone {
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.
Implementations§
Source§impl EventTrustTokenOperationDone
impl EventTrustTokenOperationDone
pub const IDENTIFIER: &'static str = "Network.trustTokenOperationDone"
Trait Implementations§
Source§impl Clone for EventTrustTokenOperationDone
impl Clone for EventTrustTokenOperationDone
Source§fn clone(&self) -> EventTrustTokenOperationDone
fn clone(&self) -> EventTrustTokenOperationDone
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 Debug for EventTrustTokenOperationDone
impl Debug for EventTrustTokenOperationDone
Source§impl<'de> Deserialize<'de> for EventTrustTokenOperationDone
impl<'de> Deserialize<'de> for EventTrustTokenOperationDone
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 From<EventTrustTokenOperationDone> for CdpEvent
impl From<EventTrustTokenOperationDone> for CdpEvent
Source§fn from(el: EventTrustTokenOperationDone) -> CdpEvent
fn from(el: EventTrustTokenOperationDone) -> CdpEvent
Converts to this type from the input type.
Source§impl IntoEventKind for EventTrustTokenOperationDone
impl IntoEventKind for EventTrustTokenOperationDone
Source§fn event_kind() -> EventKindwhere
Self: Sized + 'static,
fn event_kind() -> EventKindwhere
Self: Sized + 'static,
What kind of event this type is
Source§impl Method for EventTrustTokenOperationDone
impl Method for EventTrustTokenOperationDone
Source§fn identifier(&self) -> MethodId
fn identifier(&self) -> MethodId
The whole string identifier for this method like:
DOM.removeNodeSource§fn domain_name(&self) -> Cow<'static, str>
fn domain_name(&self) -> Cow<'static, str>
The name of the domain this method belongs to:
DOMSource§fn method_name(&self) -> Cow<'static, str>
fn method_name(&self) -> Cow<'static, str>
The standalone identifier of the method inside the domain:
removeNodeSource§impl PartialEq for EventTrustTokenOperationDone
impl PartialEq for EventTrustTokenOperationDone
Source§fn eq(&self, other: &EventTrustTokenOperationDone) -> bool
fn eq(&self, other: &EventTrustTokenOperationDone) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for EventTrustTokenOperationDone
Auto Trait Implementations§
impl Freeze for EventTrustTokenOperationDone
impl RefUnwindSafe for EventTrustTokenOperationDone
impl Send for EventTrustTokenOperationDone
impl Sync for EventTrustTokenOperationDone
impl Unpin for EventTrustTokenOperationDone
impl UnwindSafe for EventTrustTokenOperationDone
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