pub struct SqlGeneratorSettings { /* private fields */ }Implementations§
Source§impl SqlGeneratorSettings
impl SqlGeneratorSettings
pub fn new(database_type: DatabaseType, options: &GenerateOptions) -> Self
pub fn database_type(&self) -> DatabaseType
pub fn database_model(&self) -> &Rc<DatabaseModel>
pub fn statement_separator(&self) -> &String
pub fn foreign_key_mode(&self) -> ForeignKeyMode
pub fn boolean_mode(&self) -> BooleanMode
pub fn output_mode(&self) -> OutputMode
pub fn target_postgres_version(&self) -> u32
Trait Implementations§
Source§impl Clone for SqlGeneratorSettings
impl Clone for SqlGeneratorSettings
Source§fn clone(&self) -> SqlGeneratorSettings
fn clone(&self) -> SqlGeneratorSettings
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !Send for SqlGeneratorSettings
impl !Sync for SqlGeneratorSettings
impl Freeze for SqlGeneratorSettings
impl RefUnwindSafe for SqlGeneratorSettings
impl Unpin for SqlGeneratorSettings
impl UnsafeUnpin for SqlGeneratorSettings
impl UnwindSafe for SqlGeneratorSettings
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