pub struct PostgresUpgraderOptionsBuilder { /* private fields */ }Expand description
A builder for PostgresUpgraderOptions.
Implementations§
Source§impl PostgresUpgraderOptionsBuilder
impl PostgresUpgraderOptionsBuilder
Sourcepub fn create_schema(self, create: bool) -> Self
pub fn create_schema(self, create: bool) -> Self
Whether to create the schema if it does not exist.
Sourcepub fn build(self) -> PostgresUpgraderOptions
pub fn build(self) -> PostgresUpgraderOptions
Builds a PostgresUpgraderOptions instance.
Trait Implementations§
Source§impl Default for PostgresUpgraderOptionsBuilder
impl Default for PostgresUpgraderOptionsBuilder
Source§fn default() -> PostgresUpgraderOptionsBuilder
fn default() -> PostgresUpgraderOptionsBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PostgresUpgraderOptionsBuilder
impl RefUnwindSafe for PostgresUpgraderOptionsBuilder
impl Send for PostgresUpgraderOptionsBuilder
impl Sync for PostgresUpgraderOptionsBuilder
impl Unpin for PostgresUpgraderOptionsBuilder
impl UnwindSafe for PostgresUpgraderOptionsBuilder
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