pub struct MigrationsHandler { /* private fields */ }
Expand description
Migrations handler
Implementations§
Source§impl MigrationsHandler
impl MigrationsHandler
pub fn new(client: RestClient) -> Self
Sourcepub async fn create(&self, request: CreateMigrationRequest) -> Result<Migration>
pub async fn create(&self, request: CreateMigrationRequest) -> Result<Migration>
Create a new migration
Auto Trait Implementations§
impl Freeze for MigrationsHandler
impl !RefUnwindSafe for MigrationsHandler
impl Send for MigrationsHandler
impl Sync for MigrationsHandler
impl Unpin for MigrationsHandler
impl !UnwindSafe for MigrationsHandler
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