pub struct MigrateWarning {
pub field: Option<String>,
pub message: String,
}Expand description
A non-fatal migration finding (lossy or ambiguous field mapping).
Fields§
§field: Option<String>Frontmatter field related to the warning, if any.
message: StringHuman-readable explanation.
Trait Implementations§
Source§impl Clone for MigrateWarning
impl Clone for MigrateWarning
Source§fn clone(&self) -> MigrateWarning
fn clone(&self) -> MigrateWarning
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 moreSource§impl Debug for MigrateWarning
impl Debug for MigrateWarning
impl Eq for MigrateWarning
Source§impl PartialEq for MigrateWarning
impl PartialEq for MigrateWarning
Source§fn eq(&self, other: &MigrateWarning) -> bool
fn eq(&self, other: &MigrateWarning) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MigrateWarning
Auto Trait Implementations§
impl Freeze for MigrateWarning
impl RefUnwindSafe for MigrateWarning
impl Send for MigrateWarning
impl Sync for MigrateWarning
impl Unpin for MigrateWarning
impl UnsafeUnpin for MigrateWarning
impl UnwindSafe for MigrateWarning
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.