pub struct ConfigMigrateResult {
pub path: PathBuf,
pub status: ConfigMigrateStatus,
}Expand description
Result of migrating one Claude settings file (path + terminal status).
Why: pairs the file path with its outcome so the summary renderer can
print one line per file.
What: returned by migrate_config_file.
Test: unit tests inspect status after rewriting fixture files.
Fields§
§path: PathBuf§status: ConfigMigrateStatusTrait Implementations§
Auto Trait Implementations§
impl Freeze for ConfigMigrateResult
impl RefUnwindSafe for ConfigMigrateResult
impl Send for ConfigMigrateResult
impl Sync for ConfigMigrateResult
impl Unpin for ConfigMigrateResult
impl UnsafeUnpin for ConfigMigrateResult
impl UnwindSafe for ConfigMigrateResult
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more