fluxrpc-core 0.31.0

RPC framework supporting multiple protocols and codecs
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use serde::{Deserialize, Serialize};
use std::collections::HashMap;

#[derive(Debug, Serialize, Deserialize)]
pub struct Schema {
    pub components: Components,
}

#[derive(Debug, Serialize, Deserialize)]
pub struct Components {
    pub requests: HashMap<String, json_schema::JSONSchemaObject>,
    pub events: HashMap<String, json_schema::JSONSchemaObject>,
}