### Traits and Macros Source: https://docs.rs/tideorm Documentation for serialization traits and procedural macros used for model definition. ```APIDOC ## Traits ### Deserialize A data structure that can be deserialized from any format supported by Serde. ### Serialize A data structure that can be serialized into any format supported by Serde. ## Attribute Macros - **model** - **scopes** ## Derive Macros - **Deserialize** - **Model** - **Serialize** ``` -------------------------------- ### TideORM Modules Source: https://docs.rs/tideorm An overview of the different modules available in the TideORM crate, each handling specific functionalities. ```APIDOC ## Modules `cache` Query caching and prepared statement caching Query caching and prepared statement caching for TideORM `callbacks` Callbacks and hooks for model lifecycle events Callbacks and Hooks for Model Lifecycle Events `columns` Strongly-typed columns for compile-time type safety Strongly-Typed Columns `config` Global configuration Global TideORM configuration `database` Database connection and pool management Database connection and pool management `error` Error types for TideORM Error types `logging` Query logging and debugging Query Logging and Debugging `migration` Database migrations Database migration system `model` Model trait and utilities Model APIs and shared model-side helpers. `prelude` Re-exports for convenience Prelude module for TideORM `profiling` Performance profiling Performance Profiling for TideORM `query` Fluent query builder Fluent query builder `relations` Model relations (belongs_to, has_one, has_many) Model Relations System `schema` Schema generation (SQL file export) Schema generation module `seeding` Database seeding system Database seeding system `soft_delete` Soft delete support Soft Delete support for TideORM models `sync` Database schema synchronization (DB_SYNC=true) Database Schema Synchronization Module `tokenization` Record tokenization for secure ID encoding Record Tokenization `types` Attribute types and casting Attribute types and casting `validation` Model validation system Model Validation System ``` -------------------------------- ### TideORM Core Functionality Source: https://docs.rs/tideorm This section details the core re-exports from the TideORM crate, providing convenient access to its main features. ```APIDOC ## Re-exports `pub use database::Database;` `pub use callbacks::CallbackRunner;` `pub use callbacks::Callbacks;` `pub use config::Config;` `pub use config::TideConfig;` `pub use database::db;` `pub use database::has_global_db;` `pub use database::require_db;` `pub use database::try_db;` `pub use error::Error;` `pub use error::Result;` `pub use migration::ColumnType;` `pub use migration::Migration;` `pub use migration::Migrator;` `pub use migration::Schema;` `pub use model::Model;` `pub use model::ModelMeta;` `pub use query::AggregateFunction;` `pub use query::JoinClause;` `pub use query::JoinType;` `pub use query::Order;` `pub use query::QueryBuilder;` `pub use relations::BelongsTo;` `pub use relations::EagerLoadExt;` `pub use relations::HasMany;` `pub use relations::HasOne;` `pub use relations::RelationExt;` `pub use relations::WithRelations;` `pub use schema::SchemaWriter;` `pub use soft_delete::SoftDelete;` `pub use logging::LogLevel;` `pub use logging::QueryDebugInfo;` `pub use logging::QueryLogEntry;` `pub use logging::QueryLogger;` `pub use logging::QueryOperation;` `pub use logging::QueryStats;` `pub use logging::QueryTimer;` `pub use profiling::GlobalProfiler;` `pub use profiling::GlobalStats;` `pub use profiling::ProfileReport;` `pub use profiling::ProfiledQuery;` `pub use profiling::Profiler;` `pub use profiling::QueryAnalyzer;` `pub use profiling::QueryComplexity;` `pub use profiling::QuerySuggestion;` `pub use profiling::SuggestionLevel;` `pub use cache::CacheConfig;` `pub use cache::CacheKeyBuilder;` `pub use cache::CacheOptions;` `pub use cache::CacheStats;` `pub use cache::CacheStrategy;` `pub use cache::CacheWarmer;` `pub use cache::CachedStatementInfo;` `pub use cache::PreparedStatementCache;` `pub use cache::PreparedStatementConfig;` `pub use cache::PreparedStatementStats;` `pub use cache::QueryCache;` `pub use validation::ValidatableValue;` `pub use validation::Validate;` `pub use validation::ValidationBuilder;` `pub use validation::ValidationErrors;` `pub use validation::ValidationRule;` `pub use validation::Validator;` `pub use tokenization::TokenConfig;` `pub use tokenization::TokenDecoder;` `pub use tokenization::TokenEncoder;` `pub use tokenization::Tokenizable;` `pub use async_trait;` `pub use chrono;` ``` -------------------------------- ### Core Structs Source: https://docs.rs/tideorm Overview of the primary data structures used for handling time, precision decimals, and unique identifiers. ```APIDOC ## Core Structs ### DateTime ISO 8601 combined date and time with time zone. ### Decimal 128-bit fixed-precision decimal number (m / 10e, where -2^96 < m < 2^96 and 0 <= e <= 28). ### NaiveDateTime ISO 8601 combined date and time without timezone. ### Utc The UTC time zone, used for efficient time handling. ### Uuid A Universally Unique Identifier (UUID). ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.