Function cosmwasm_std::to_vec

source ·
pub fn to_vec<T>(data: &T) -> StdResult<Vec<u8>>where
    T: Serialize + ?Sized,