pub struct StampedEvent {
pub emitter: ActorID,
pub event: ActorEvent,
}Expand description
Event with extra information stamped by the FVM. This is the structure that gets committed on-chain via the receipt.
Fields§
§emitter: ActorIDCarries the ID of the actor that emitted this event.
event: ActorEventThe event as emitted by the actor.
Implementations§
Source§impl StampedEvent
impl StampedEvent
pub fn new(emitter: ActorID, event: ActorEvent) -> Self
Trait Implementations§
Source§impl Clone for StampedEvent
impl Clone for StampedEvent
Source§fn clone(&self) -> StampedEvent
fn clone(&self) -> StampedEvent
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 StampedEvent
impl Debug for StampedEvent
Source§impl<'de> Deserialize<'de> for StampedEvent
impl<'de> Deserialize<'de> for StampedEvent
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 StampedEvent
impl PartialEq for StampedEvent
Source§impl Serialize for StampedEvent
impl Serialize for StampedEvent
impl Eq for StampedEvent
impl StructuralPartialEq for StampedEvent
Auto Trait Implementations§
impl Freeze for StampedEvent
impl RefUnwindSafe for StampedEvent
impl Send for StampedEvent
impl Sync for StampedEvent
impl Unpin for StampedEvent
impl UnsafeUnpin for StampedEvent
impl UnwindSafe for StampedEvent
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