Struct libsalmo::migration_data::committed::CommittedFile
source · pub struct CommittedFile {
pub commits: Vec<Commit>,
}Fields§
§commits: Vec<Commit>Implementations§
source§impl 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§
source§impl Clone for CommittedFile
impl Clone for CommittedFile
source§fn clone(&self) -> CommittedFile
fn clone(&self) -> CommittedFile
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for CommittedFile
impl Debug for CommittedFile
source§impl<'de> Deserialize<'de> for CommittedFile
impl<'de> Deserialize<'de> for CommittedFile
source§fn 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