pub struct PgStopgapApi { /* private fields */ }Implementations§
Trait Implementations§
Source§impl StopgapApi for PgStopgapApi
impl StopgapApi for PgStopgapApi
fn deploy( &mut self, env: &str, from_schema: &str, label: Option<&str>, prune: bool, deploy_exports_json: Option<&str>, ) -> Result<i64>
fn rollback(&mut self, env: &str, steps: i32, to_id: Option<i64>) -> Result<i64>
fn status(&mut self, env: &str) -> Result<Option<Value>>
fn deployments(&mut self, env: &str) -> Result<Value>
fn diff(&mut self, env: &str, from_schema: &str) -> Result<Value>
Auto Trait Implementations§
impl !Freeze for PgStopgapApi
impl !RefUnwindSafe for PgStopgapApi
impl Send for PgStopgapApi
impl !Sync for PgStopgapApi
impl Unpin for PgStopgapApi
impl UnsafeUnpin for PgStopgapApi
impl !UnwindSafe for PgStopgapApi
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