Struct ic_utils::interfaces::wallet::ManagedCanisterEvent
source · pub struct ManagedCanisterEvent<TCycles = u128> {
pub id: u32,
pub timestamp: u64,
pub kind: ManagedCanisterEventKind<TCycles>,
}
Expand description
A transaction event related to a ManagedCanisterInfo
.
Fields§
§id: u32
The event ID.
timestamp: u64
The Unix timestamp the event occurred at.
kind: ManagedCanisterEventKind<TCycles>
The kind of event that occurred.
Trait Implementations§
source§impl<TCycles: CandidType> CandidType for ManagedCanisterEvent<TCycles>
impl<TCycles: CandidType> CandidType for ManagedCanisterEvent<TCycles>
source§impl<TCycles: Debug> Debug for ManagedCanisterEvent<TCycles>
impl<TCycles: Debug> Debug for ManagedCanisterEvent<TCycles>
source§impl<'de, TCycles> Deserialize<'de> for ManagedCanisterEvent<TCycles>where
TCycles: Deserialize<'de>,
impl<'de, TCycles> Deserialize<'de> for ManagedCanisterEvent<TCycles>where
TCycles: Deserialize<'de>,
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<ManagedCanisterEvent<u64>> for ManagedCanisterEvent
impl From<ManagedCanisterEvent<u64>> for ManagedCanisterEvent
source§fn from(_: ManagedCanisterEvent<u64>) -> Self
fn from(_: ManagedCanisterEvent<u64>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<TCycles> Freeze for ManagedCanisterEvent<TCycles>where
TCycles: Freeze,
impl<TCycles> RefUnwindSafe for ManagedCanisterEvent<TCycles>where
TCycles: RefUnwindSafe,
impl<TCycles> Send for ManagedCanisterEvent<TCycles>where
TCycles: Send,
impl<TCycles> Sync for ManagedCanisterEvent<TCycles>where
TCycles: Sync,
impl<TCycles> Unpin for ManagedCanisterEvent<TCycles>where
TCycles: Unpin,
impl<TCycles> UnwindSafe for ManagedCanisterEvent<TCycles>where
TCycles: UnwindSafe,
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