pub struct SalmoContext {
pub config: Config,
pub environments: Vec<ConfigEnvironment>,
}Fields§
§config: Config§environments: Vec<ConfigEnvironment>Implementations§
Source§impl SalmoContext
impl SalmoContext
pub fn commits(&self) -> Result<CommittedFile>
pub fn migrations(&self) -> Result<MigrationRegistry>
Auto Trait Implementations§
impl Freeze for SalmoContext
impl RefUnwindSafe for SalmoContext
impl Send for SalmoContext
impl Sync for SalmoContext
impl Unpin for SalmoContext
impl UnwindSafe for SalmoContext
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