activity 0.9.0

Discord activities in Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use wasm_bindgen::JsValue;

pub struct Error {}

impl From<JsValue> for Error {
    fn from(_value: JsValue) -> Self {
        Error {}
    }
}

impl From<Error> for JsValue {
    fn from(_value: Error) -> Self {
        JsValue::NULL
    }
}