1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
pub mod calendar;
pub mod event;
pub mod resources;

use serde::{Deserialize, Serialize};

pub trait Fetchable: for<'de> Deserialize<'de> {
    type Request: Serialize;

    const METHOD_NAME: &'static str;
}