pub struct Events {
pub contracts: Vec<ContractCall>,
pub local: Vec<Message>,
}Expand description
Output Events generated by a contract or sw-agent
Fields§
§contracts: Vec<ContractCall>§local: Vec<Message>Implementations§
Trait Implementations§
Source§impl ActionOutput for Events
impl ActionOutput for Events
fn convert_out_events(self) -> Result<Events>
Source§impl<'de> Deserialize<'de> for Events
impl<'de> Deserialize<'de> for Events
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<ContractCall> for Events
impl From<ContractCall> for Events
Source§fn from(value: ContractCall) -> Self
fn from(value: ContractCall) -> Self
Converts to this type from the input type.
Source§impl From<Vec<ContractCall>> for Events
impl From<Vec<ContractCall>> for Events
Source§fn from(value: Vec<ContractCall>) -> Self
fn from(value: Vec<ContractCall>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for Events
impl RefUnwindSafe for Events
impl Send for Events
impl Sync for Events
impl Unpin for Events
impl UnwindSafe for Events
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