pub struct InputRule {
pub source_path: PathBuf,
pub relative_path: PathBuf,
pub format: RuleFormat,
pub content: String,
}Expand description
One rule file discovered for batch migration.
Fields§
§source_path: PathBufAbsolute path to the source file on disk.
relative_path: PathBufPath relative to the scan root (used for output layout).
format: RuleFormatDetected or declared format of the source file.
content: StringRaw file contents.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for InputRule
impl RefUnwindSafe for InputRule
impl Send for InputRule
impl Sync for InputRule
impl Unpin for InputRule
impl UnsafeUnpin for InputRule
impl UnwindSafe for InputRule
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