kiteconnect_async_wasm/models/common/
mod.rs

1/*!
2Common types and utilities shared across all KiteConnect models.
3
4This module provides:
5- Custom error types (`KiteError`)
6- Response wrapper types (`KiteResponse<T>`)
7- Shared enums organized in logical submodules:
8  - `enums::exchange`: Stock exchanges and trading venues
9  - `enums::trading`: Trading-related enums (products, validity, transaction types, etc.)
10  - `enums::instruments`: Instrument types and market segments
11  - `enums::interval`: Time intervals for historical data
12  - `enums::gtt`: Good Till Triggered order status
13- Common data types and utilities
14
15All enums are re-exported at the module level for convenient access.
16*/
17
18pub mod enums;
19pub mod errors;
20pub mod response;
21
22// Re-export main types for convenient access
23pub use enums::*;
24pub use errors::*;
25pub use response::*;