args-api 0.1.0

Shared API contract types and endpoint definitions for args.
Documentation
pub mod auth;
pub mod bug;
pub mod build;
pub mod common;
pub mod migration;
pub mod organization;
pub mod question;
pub mod repository;
pub mod review;
pub mod runner;
pub mod slack;
pub mod task;
pub mod user;
pub mod webhook;

use serde::{Serialize, de::DeserializeOwned};

pub use auth::*;
pub use bug::*;
pub use build::*;
pub use common::*;
pub use migration::*;
pub use organization::*;
pub use question::*;
pub use repository::*;
pub use review::*;
pub use runner::*;
pub use slack::*;
pub use task::*;
pub use user::*;
pub use webhook::*;

pub trait ApiResource: Serialize + PartialEq + DeserializeOwned {}

impl<T: ApiResource> ApiResource for Vec<T> {}

impl<T: ApiResource> ApiResource for Option<T> {}

impl ApiResource for () {}