[][src]Struct movine::Movine

pub struct Movine { /* fields omitted */ }

Methods

impl Movine[src]

pub fn new(adaptor: Box<dyn DbAdaptor>, migration_dir: &str) -> Self[src]

pub fn initialize(&mut self) -> Result<()>[src]

pub fn generate(&mut self, name: &str) -> Result<()>[src]

pub fn status(&mut self) -> Result<()>[src]

pub fn up(&mut self, number: Option<usize>, show_plan: bool) -> Result<()>[src]

pub fn down(
    &mut self,
    number: Option<usize>,
    show_plan: bool,
    _ignore_divergent: bool
) -> Result<()>
[src]

pub fn fix(&mut self, show_plan: bool) -> Result<()>[src]

pub fn redo(&mut self, number: Option<usize>, show_plan: bool) -> Result<()>[src]

Auto Trait Implementations

impl !RefUnwindSafe for Movine

impl !Send for Movine

impl !Sync for Movine

impl Unpin for Movine

impl !UnwindSafe for Movine

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.