Trait fadroma::response::ResponseBuilder
source · [−]pub trait ResponseBuilder: Sized {
fn msg(self, msg: CosmosMsg) -> StdResult<Self>;
fn msg_to(
self,
contract: ContractLink<HumanAddr>,
msg: &impl Serialize
) -> StdResult<Self>;
fn log(self, key: &str, value: &str) -> StdResult<Self>;
fn data<T: Serialize>(self, data: &T) -> StdResult<Self>;
fn merge(self, other: Self) -> StdResult<Self>;
}