#[non_exhaustive]pub struct NoDatabaseMigrationPreference {
pub target_database_engine: Vec<TargetDatabaseEngine>,
}Expand description
The object containing details about database migration preferences, when you have no particular preference.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.target_database_engine: Vec<TargetDatabaseEngine>The target database engine for database migration preference that you specify.
Implementations§
source§impl NoDatabaseMigrationPreference
impl NoDatabaseMigrationPreference
sourcepub fn target_database_engine(&self) -> &[TargetDatabaseEngine]
pub fn target_database_engine(&self) -> &[TargetDatabaseEngine]
The target database engine for database migration preference that you specify.
source§impl NoDatabaseMigrationPreference
impl NoDatabaseMigrationPreference
sourcepub fn builder() -> NoDatabaseMigrationPreferenceBuilder
pub fn builder() -> NoDatabaseMigrationPreferenceBuilder
Creates a new builder-style object to manufacture NoDatabaseMigrationPreference.
Trait Implementations§
source§impl Clone for NoDatabaseMigrationPreference
impl Clone for NoDatabaseMigrationPreference
source§fn clone(&self) -> NoDatabaseMigrationPreference
fn clone(&self) -> NoDatabaseMigrationPreference
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl PartialEq for NoDatabaseMigrationPreference
impl PartialEq for NoDatabaseMigrationPreference
source§fn eq(&self, other: &NoDatabaseMigrationPreference) -> bool
fn eq(&self, other: &NoDatabaseMigrationPreference) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for NoDatabaseMigrationPreference
Auto Trait Implementations§
impl RefUnwindSafe for NoDatabaseMigrationPreference
impl Send for NoDatabaseMigrationPreference
impl Sync for NoDatabaseMigrationPreference
impl Unpin for NoDatabaseMigrationPreference
impl UnwindSafe for NoDatabaseMigrationPreference
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.