pub struct GenerateOptions {
pub database_model: Rc<DatabaseModel>,
pub writer: Rc<RefCell<PrintWriter>>,
pub foreign_key_mode: ForeignKeyMode,
pub boolean_mode: BooleanMode,
pub output_mode: OutputMode,
pub target_postgres_version: u32,
}Fields§
§database_model: Rc<DatabaseModel>§writer: Rc<RefCell<PrintWriter>>§foreign_key_mode: ForeignKeyMode§boolean_mode: BooleanMode§output_mode: OutputMode§target_postgres_version: u32Implementations§
Source§impl GenerateOptions
impl GenerateOptions
pub fn new( database_model: Rc<DatabaseModel>, writer: Rc<RefCell<PrintWriter>>, ) -> Self
Auto Trait Implementations§
impl !RefUnwindSafe for GenerateOptions
impl !Send for GenerateOptions
impl !Sync for GenerateOptions
impl !UnwindSafe for GenerateOptions
impl Freeze for GenerateOptions
impl Unpin for GenerateOptions
impl UnsafeUnpin for GenerateOptions
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