pub struct ModelSchemaOptions {
pub model_name: Option<String>,
pub field_names: BTreeMap<String, String>,
}Expand description
Table and column alias overrides for a core auth model.
Fields§
§model_name: Option<String>Physical database table name override.
field_names: BTreeMap<String, String>Logical field name to physical column name aliases.
Implementations§
Trait Implementations§
Source§impl Clone for ModelSchemaOptions
impl Clone for ModelSchemaOptions
Source§impl Debug for ModelSchemaOptions
impl Debug for ModelSchemaOptions
Source§impl Default for ModelSchemaOptions
impl Default for ModelSchemaOptions
impl Eq for ModelSchemaOptions
Source§impl PartialEq for ModelSchemaOptions
impl PartialEq for ModelSchemaOptions
impl StructuralPartialEq for ModelSchemaOptions
Auto Trait Implementations§
impl Freeze for ModelSchemaOptions
impl RefUnwindSafe for ModelSchemaOptions
impl Send for ModelSchemaOptions
impl Sync for ModelSchemaOptions
impl Unpin for ModelSchemaOptions
impl UnsafeUnpin for ModelSchemaOptions
impl UnwindSafe for ModelSchemaOptions
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.