islands-actions-shared 0.1.3

Pure request/response types shared between the server and WASM for islands.rs server actions.
Documentation
1
2
3
4
5
6
7
8
9
use serde::{Deserialize, Serialize};

#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct RandomNumberInput {}

#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct RandomNumberOutput {
    pub value: i32,
}