Struct cap_sdk::IndefiniteEvent
[−]pub struct IndefiniteEvent {
pub caller: Principal,
pub operation: String,
pub details: Vec<(String, DetailValue), Global>,
}Fields
caller: PrincipalThe caller that initiated the call on the token contract.
operation: StringThe operation that took place.
details: Vec<(String, DetailValue), Global>Details of the transaction.
Implementations
impl IndefiniteEvent
impl IndefiniteEvent
Trait Implementations
impl CandidType for IndefiniteEvent
impl CandidType for IndefiniteEvent
impl Clone for IndefiniteEvent
impl Clone for IndefiniteEvent
fn clone(&self) -> IndefiniteEvent
fn clone(&self) -> IndefiniteEvent
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
impl Debug for IndefiniteEvent
impl Debug for IndefiniteEvent
impl<'de> Deserialize<'de> for IndefiniteEvent
impl<'de> Deserialize<'de> for IndefiniteEvent
fn deserialize<__D>(
__deserializer: __D
) -> Result<IndefiniteEvent, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<IndefiniteEvent, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Into<IndefiniteEvent> for Event
impl Into<IndefiniteEvent> for Event
fn into(self) -> IndefiniteEvent
fn into(self) -> IndefiniteEvent
Converts this type into the (usually inferred) input type.
sourceimpl<T: TryFromEvent + IntoEvent + Clone> Into<IndefiniteEvent> for TypedIndefiniteEvent<T>
impl<T: TryFromEvent + IntoEvent + Clone> Into<IndefiniteEvent> for TypedIndefiniteEvent<T>
sourcefn into(self) -> IndefiniteEvent
fn into(self) -> IndefiniteEvent
Converts this type into the (usually inferred) input type.
impl Serialize for IndefiniteEvent
impl Serialize for IndefiniteEvent
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
sourceimpl<T: TryFromEvent + IntoEvent + Clone> TryFrom<IndefiniteEvent> for TypedIndefiniteEvent<T>
impl<T: TryFromEvent + IntoEvent + Clone> TryFrom<IndefiniteEvent> for TypedIndefiniteEvent<T>
type Error = <T as TryFromEvent>::Error
type Error = <T as TryFromEvent>::Error
The type returned in the event of a conversion error.
sourcefn try_from(value: IndefiniteEvent) -> Result<Self, Self::Error>
fn try_from(value: IndefiniteEvent) -> Result<Self, Self::Error>
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for IndefiniteEvent
impl Send for IndefiniteEvent
impl Sync for IndefiniteEvent
impl Unpin for IndefiniteEvent
impl UnwindSafe for IndefiniteEvent
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more