Struct libsalmo::migration_data::committed::CommittedFile
source · Fields
commits: Vec<Commit>Implementations
sourceimpl CommittedFile
impl CommittedFile
pub fn load(dir: &Path) -> Result<Self>
pub fn add_commit(ctx: &SalmoContext, migration_id: &str) -> Result<Commit>
pub fn contains_migration(&self, m: &Migration) -> bool
Trait Implementations
sourceimpl Clone for CommittedFile
impl Clone for CommittedFile
sourcefn clone(&self) -> CommittedFile
fn clone(&self) -> CommittedFile
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for CommittedFile
impl Debug for CommittedFile
sourceimpl<'de> Deserialize<'de> for CommittedFile
impl<'de> Deserialize<'de> for CommittedFile
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Serialize for CommittedFile
impl Serialize for CommittedFile
Auto Trait Implementations
impl RefUnwindSafe for CommittedFile
impl Send for CommittedFile
impl Sync for CommittedFile
impl Unpin for CommittedFile
impl UnwindSafe for CommittedFile
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more