Struct pbc_contract_common::events::EventGroup
source · pub struct EventGroup { /* private fields */ }
Expand description
The event group is a struct holding a list of events to send to other contracts and an optional callback RPC.
See docs for Interaction
.
Serialized with the RPC format.
Implementations§
source§impl EventGroup
impl EventGroup
sourcepub fn builder() -> EventGroupBuilder
pub fn builder() -> EventGroupBuilder
Retrieves new EventGroupBuilder
for constructing an event group, using builder pattern.
sourcepub fn return_data(self) -> Option<ReturnData>
pub fn return_data(self) -> Option<ReturnData>
Getter for test assertions
Trait Implementations§
source§impl Debug for EventGroup
impl Debug for EventGroup
source§impl Default for EventGroup
impl Default for EventGroup
source§impl WriteRPC for EventGroup
impl WriteRPC for EventGroup
source§fn rpc_write_to<WriteEventGroup: Write>(
&self,
writer: &mut WriteEventGroup
) -> Result<()>
fn rpc_write_to<WriteEventGroup: Write>( &self, writer: &mut WriteEventGroup ) -> Result<()>
Serialization method for RPC arguments.
Auto Trait Implementations§
impl RefUnwindSafe for EventGroup
impl Send for EventGroup
impl Sync for EventGroup
impl Unpin for EventGroup
impl UnwindSafe for EventGroup
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