pub struct MongoDbRestartCommand {
pub command_properties: CommandProperties,
pub input: Option<MongoDbCommandInput>,
}
Expand description
Properties for the command that restarts a migration in whole or in part
Fields§
§command_properties: CommandProperties
§input: Option<MongoDbCommandInput>
Describes the input to the ‘cancel’ and ‘restart’ MongoDB migration commands
Implementations§
source§impl MongoDbRestartCommand
impl MongoDbRestartCommand
pub fn new(command_properties: CommandProperties) -> Self
Trait Implementations§
source§impl Clone for MongoDbRestartCommand
impl Clone for MongoDbRestartCommand
source§fn clone(&self) -> MongoDbRestartCommand
fn clone(&self) -> MongoDbRestartCommand
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 Debug for MongoDbRestartCommand
impl Debug for MongoDbRestartCommand
source§impl<'de> Deserialize<'de> for MongoDbRestartCommand
impl<'de> Deserialize<'de> for MongoDbRestartCommand
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
source§impl PartialEq<MongoDbRestartCommand> for MongoDbRestartCommand
impl PartialEq<MongoDbRestartCommand> for MongoDbRestartCommand
source§fn eq(&self, other: &MongoDbRestartCommand) -> bool
fn eq(&self, other: &MongoDbRestartCommand) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for MongoDbRestartCommand
impl Serialize for MongoDbRestartCommand
impl StructuralPartialEq for MongoDbRestartCommand
Auto Trait Implementations§
impl RefUnwindSafe for MongoDbRestartCommand
impl Send for MongoDbRestartCommand
impl Sync for MongoDbRestartCommand
impl Unpin for MongoDbRestartCommand
impl UnwindSafe for MongoDbRestartCommand
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