pub struct StatusReport {
pub schema: &'static str,
pub id: String,
pub workspace: Utf8PathBuf,
pub base_commit: String,
pub sources: Vec<SourceState>,
pub unfinished: Vec<String>,
}Expand description
The whole state of an open migration.
Fields§
§schema: &'static strThe machine schema this object declares.
id: StringThe migration id.
workspace: Utf8PathBufWhere the workspace is.
base_commit: StringThe commit that held every source byte.
sources: Vec<SourceState>Every source, in path order.
unfinished: Vec<String>Why the migration cannot close yet. Empty means it can.
Trait Implementations§
Source§impl Debug for StatusReport
impl Debug for StatusReport
Auto Trait Implementations§
impl Forget for StatusReport
impl Freeze for StatusReport
impl Move for StatusReport
impl RefUnwindSafe for StatusReport
impl Send for StatusReport
impl Sync for StatusReport
impl Unpin for StatusReport
impl UnsafeUnpin for StatusReport
impl UnwindSafe for StatusReport
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