pub struct MigrationUpdate {
pub auto_migrate: Option<bool>,
pub batch_size: Option<BatchSize>,
pub delay_ms: Option<DelayMs>,
pub cpu_threshold: Option<CpuThreshold>,
}Fields§
§auto_migrate: Option<bool>§batch_size: Option<BatchSize>§delay_ms: Option<DelayMs>§cpu_threshold: Option<CpuThreshold>Trait Implementations§
Source§impl Clone for MigrationUpdate
impl Clone for MigrationUpdate
Source§impl Debug for MigrationUpdate
impl Debug for MigrationUpdate
Source§impl Default for MigrationUpdate
impl Default for MigrationUpdate
Source§impl<'de> Deserialize<'de> for MigrationUpdate
impl<'de> Deserialize<'de> for MigrationUpdate
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for MigrationUpdate
impl RefUnwindSafe for MigrationUpdate
impl Send for MigrationUpdate
impl Sync for MigrationUpdate
impl Unpin for MigrationUpdate
impl UnsafeUnpin for MigrationUpdate
impl UnwindSafe for MigrationUpdate
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