pub struct ConversionReport {
pub transferred: Vec<StandardField>,
pub custom_transferred: Vec<String>,
pub skipped: Vec<(String, SkipReason)>,
pub warnings: Vec<String>,
}Expand description
Summary of a tag conversion operation.
After calling FromTagMap::apply_tag_map or convert_tags, this
report describes exactly which fields were written, which were skipped,
and why.
Fields§
§transferred: Vec<StandardField>Standard fields successfully written to the destination.
custom_transferred: Vec<String>Custom (non-standard) field keys that were written.
skipped: Vec<(String, SkipReason)>Fields that were skipped, with the reason.
warnings: Vec<String>Non-fatal warnings generated during conversion.
Trait Implementations§
Source§impl Clone for ConversionReport
impl Clone for ConversionReport
Source§fn clone(&self) -> ConversionReport
fn clone(&self) -> ConversionReport
Returns a duplicate of the value. Read more
1.0.0 · 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 ConversionReport
impl Debug for ConversionReport
Source§impl Default for ConversionReport
impl Default for ConversionReport
Source§fn default() -> ConversionReport
fn default() -> ConversionReport
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ConversionReport
impl<'de> Deserialize<'de> for ConversionReport
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for ConversionReport
impl Display for ConversionReport
Auto Trait Implementations§
impl Freeze for ConversionReport
impl RefUnwindSafe for ConversionReport
impl Send for ConversionReport
impl Sync for ConversionReport
impl Unpin for ConversionReport
impl UnsafeUnpin for ConversionReport
impl UnwindSafe for ConversionReport
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