pub struct MigrateResult {
pub content: String,
pub warnings: Vec<MigrateWarning>,
}Expand description
Result of migrating one rule file’s content in memory.
Fields§
§content: StringMigrated markdown (frontmatter + body).
warnings: Vec<MigrateWarning>Lossy or ambiguous mapping warnings.
Trait Implementations§
Source§impl Clone for MigrateResult
impl Clone for MigrateResult
Source§fn clone(&self) -> MigrateResult
fn clone(&self) -> MigrateResult
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 MigrateResult
impl RefUnwindSafe for MigrateResult
impl Send for MigrateResult
impl Sync for MigrateResult
impl Unpin for MigrateResult
impl UnsafeUnpin for MigrateResult
impl UnwindSafe for MigrateResult
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