pub struct Migrations { /* private fields */ }
Expand description

TODO(doc): @quake

Implementations

TODO(doc): @quake

TODO(doc): @quake

Check if database’s version is matched with the executable binary version.

Returns

  • Less: The database version is less than the matched version of the executable binary. Requires migration.
  • Equal: The database version is matched with the executable binary version.
  • Greater: The database version is greater than the matched version of the executable binary. Requires upgrade the executable binary.

Check if the migrations will consume a lot of time.

Initial db version

TODO(doc): @quake

Trait Implementations

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

TODO(doc): @quake

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more