[−][src]Struct butane_core::migrations::FsMigrations
A collection of migrations stored in the filesystem.
Implementations
impl FsMigrations
[src]
Trait Implementations
impl Migrations for FsMigrations
[src]
type M = FsMigration
pub fn get_migration(&self, name: &str) -> Option<Self::M>
[src]
pub fn latest(&self) -> Option<Self::M>
[src]
pub fn migrations_since(&self, since: &Self::M) -> Result<Vec<Self::M>>
[src]
pub fn all_migrations(&self) -> Result<Vec<Self::M>>
[src]
pub fn unapplied_migrations(
&self,
conn: &impl ConnectionMethods
) -> Result<Vec<Self::M>>
[src]
&self,
conn: &impl ConnectionMethods
) -> Result<Vec<Self::M>>
pub fn last_applied_migration(
&self,
conn: &impl ConnectionMethods
) -> Result<Option<Self::M>>
[src]
&self,
conn: &impl ConnectionMethods
) -> Result<Option<Self::M>>
impl MigrationsMut for FsMigrations
[src]
Auto Trait Implementations
impl !RefUnwindSafe for FsMigrations
[src]
impl !Send for FsMigrations
[src]
impl !Sync for FsMigrations
[src]
impl Unpin for FsMigrations
[src]
impl !UnwindSafe for FsMigrations
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,