Skip to main content

rust_type_mapping

Macro rust_type_mapping 

Source
macro_rules! rust_type_mapping {
    (Int2) => { ... };
    (Int4) => { ... };
    (Int8) => { ... };
    (Varchar) => { ... };
    (Text) => { ... };
    (Bool) => { ... };
    (Uuid) => { ... };
    (Timestamptz) => { ... };
    (Date) => { ... };
    (Time) => { ... };
    (Json) => { ... };
    (Jsonb) => { ... };
    (Char) => { ... };
    (Numeric) => { ... };
    (Array) => { ... };
    (Custom($rust_type:ty)) => { ... };
    (Serial) => { ... };
    (BigSerial) => { ... };
    (SmallSerial) => { ... };
}
Expand description

Shared Rust type mappings