nylas_types/
lib.rs

1//! # Nylas Types
2//!
3//! Type definitions and models for the Nylas API v3.
4//!
5//! This crate provides strongly-typed models for all Nylas API resources:
6//! - Grants
7//! - Messages
8//! - Drafts
9//! - Calendars
10//! - Events
11//! - Contacts
12//! - Folders
13//! - Threads
14//! - Webhooks
15//! - Availability
16//!
17//! All types use the NewType pattern for type safety and implement
18//! serde serialization/deserialization.
19
20pub mod attachment;
21pub mod availability;
22pub mod calendar;
23pub mod common;
24pub mod contact;
25pub mod draft;
26pub mod event;
27pub mod folder;
28pub mod grant;
29pub mod message;
30pub mod thread;
31pub mod webhook;
32
33// Re-export commonly used types
34pub use attachment::*;
35pub use availability::*;
36pub use calendar::*;
37pub use common::*;
38pub use contact::*;
39pub use draft::*;
40pub use event::*;
41pub use folder::*;
42pub use grant::*;
43pub use message::*;
44pub use thread::*;
45pub use webhook::*;