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: TrustTokenOperationDoneStatus
Detailed 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 copy 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<EventTrustTokenOperationDone, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<EventTrustTokenOperationDone, <__D as Deserializer<'de>>::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
EventTrustTokenOperationDone: Sized + 'static,
fn event_kind() -> EventKindwhere
EventTrustTokenOperationDone: Sized + 'static,
What kind of event this type is
Source§impl Method for EventTrustTokenOperationDone
impl Method for EventTrustTokenOperationDone
Source§fn identifier(&self) -> Cow<'static, str>
fn identifier(&self) -> Cow<'static, str>
The whole string identifier for this method like:
DOM.removeNode
Source§fn domain_name(&self) -> Cow<'static, str>
fn domain_name(&self) -> Cow<'static, str>
The name of the domain this method belongs to:
DOM
Source§fn method_name(&self) -> Cow<'static, str>
fn method_name(&self) -> Cow<'static, str>
The standalone identifier of the method inside the domain:
removeNode
Source§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 ==
.Source§impl Serialize for EventTrustTokenOperationDone
impl Serialize for EventTrustTokenOperationDone
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more