pub enum IdStorage {
Uuid,
Text,
}Expand description
How ColumnType::Id columns are stored. The configured
IdStrategy decides it, and adapters read it from
Schema::id_storage or TableDef::id_storage when they create columns and bind ids.
Variants§
Uuid
The database’s native UUID type where it has one (Postgres uuid), else text.
Text
Text on every database.
Trait Implementations§
impl Copy for IdStorage
impl Eq for IdStorage
impl StructuralPartialEq for IdStorage
Auto Trait Implementations§
impl Forget for IdStorage
impl Freeze for IdStorage
impl Move for IdStorage
impl RefUnwindSafe for IdStorage
impl Send for IdStorage
impl Sync for IdStorage
impl Unpin for IdStorage
impl UnsafeUnpin for IdStorage
impl UnwindSafe for IdStorage
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more