#[non_exhaustive]pub struct MySqlSyncConfig {
pub initial_sync_flags: Vec<SyncFlags>,
/* private fields */
}
Expand description
MySQL-specific external server sync settings.
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.initial_sync_flags: Vec<SyncFlags>
Flags to use for the initial dump.
Implementations§
Source§impl MySqlSyncConfig
impl MySqlSyncConfig
pub fn new() -> Self
Sourcepub fn set_initial_sync_flags<T, V>(self, v: T) -> Self
pub fn set_initial_sync_flags<T, V>(self, v: T) -> Self
Sets the value of initial_sync_flags.
Trait Implementations§
Source§impl Clone for MySqlSyncConfig
impl Clone for MySqlSyncConfig
Source§fn clone(&self) -> MySqlSyncConfig
fn clone(&self) -> MySqlSyncConfig
Returns a duplicate 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 Debug for MySqlSyncConfig
impl Debug for MySqlSyncConfig
Source§impl Default for MySqlSyncConfig
impl Default for MySqlSyncConfig
Source§fn default() -> MySqlSyncConfig
fn default() -> MySqlSyncConfig
Returns the “default value” for a type. Read more
Source§impl Message for MySqlSyncConfig
impl Message for MySqlSyncConfig
Source§impl PartialEq for MySqlSyncConfig
impl PartialEq for MySqlSyncConfig
impl StructuralPartialEq for MySqlSyncConfig
Auto Trait Implementations§
impl Freeze for MySqlSyncConfig
impl RefUnwindSafe for MySqlSyncConfig
impl Send for MySqlSyncConfig
impl Sync for MySqlSyncConfig
impl Unpin for MySqlSyncConfig
impl UnwindSafe for MySqlSyncConfig
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