pub struct Staged {
pub renamed: Vec<(&'static str, &'static str)>,
pub markers: Vec<&'static str>,
pub attest_inputs: bool,
pub leftovers: Vec<String>,
pub leftover_count: usize,
}Expand description
What migrate --tracked changed and staged, and what it left.
Fields§
§renamed: Vec<(&'static str, &'static str)>Files renamed, old name first.
markers: Vec<&'static str>Files whose marker pair was rewritten.
attest_inputs: boolWhether .github/attest-inputs was rewritten.
leftovers: Vec<String>Tracked lines still naming an old name, path:line:text, at most
[LEFTOVER_LINES] of them.
leftover_count: usizeHow many leftover lines there were in all.
Implementations§
Trait Implementations§
impl Eq for Staged
impl StructuralPartialEq for Staged
Auto Trait Implementations§
impl Forget for Staged
impl Freeze for Stagedwhere
*const u8 is !null: Freeze,
PhantomData<(&'static str, &'static str)>: Freeze,
PhantomData<&'static str>: Freeze,
PhantomData<String>: Freeze,
impl Move for Staged
impl RefUnwindSafe for Staged
impl Send for Staged
impl Sync for Stagedwhere
RawVecInner: Sync,
impl Unpin for Staged
impl UnsafeUnpin for Stagedwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<(&'static str, &'static str)>: UnsafeUnpin,
PhantomData<&'static str>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for Staged
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