Skip to main content

MigrationAsStr

Trait MigrationAsStr 

Source
pub trait MigrationAsStr {
    // Required method
    fn to_str(&self) -> (&str, &str);
}

Required Methods§

Source

fn to_str(&self) -> (&str, &str)

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl MigrationAsStr for (String, String)

Source§

fn to_str(&self) -> (&str, &str)

Implementors§