pub struct MigrationProgram {
pub base_revision: RelationId,
pub base_schema: Schema,
pub revisions: Vec<Revision>,
pub target_schema: RelationId,
}Expand description
An authored upgrade path.
Fields§
§base_revision: RelationIdIdentity of the revision already applied at the starting state.
base_schema: SchemaExact starting logical schema.
revisions: Vec<Revision>Ordered, linear revisions.
target_schema: RelationIdRequired final logical schema identity.
Trait Implementations§
Source§impl Clone for MigrationProgram
impl Clone for MigrationProgram
Source§fn clone(&self) -> MigrationProgram
fn clone(&self) -> MigrationProgram
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for MigrationProgram
impl RefUnwindSafe for MigrationProgram
impl Send for MigrationProgram
impl Sync for MigrationProgram
impl Unpin for MigrationProgram
impl UnsafeUnpin for MigrationProgram
impl UnwindSafe for MigrationProgram
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