pub struct CrossChainEvent {
pub chain: String,
pub event: DecodedEvent,
pub received_at: i64,
}Expand description
An event received from any of the managed chains.
Fields§
§chain: StringChain identifier that produced this event.
event: DecodedEventThe decoded event payload.
received_at: i64Unix timestamp (seconds) at which the event was received by the bus.
Trait Implementations§
Source§impl Clone for CrossChainEvent
impl Clone for CrossChainEvent
Source§fn clone(&self) -> CrossChainEvent
fn clone(&self) -> CrossChainEvent
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 CrossChainEvent
impl Debug for CrossChainEvent
Source§impl<'de> Deserialize<'de> for CrossChainEvent
impl<'de> Deserialize<'de> for CrossChainEvent
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
Auto Trait Implementations§
impl Freeze for CrossChainEvent
impl RefUnwindSafe for CrossChainEvent
impl Send for CrossChainEvent
impl Sync for CrossChainEvent
impl Unpin for CrossChainEvent
impl UnsafeUnpin for CrossChainEvent
impl UnwindSafe for CrossChainEvent
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