pub struct ImportReport {
pub mode: ImportMode,
pub dry_run: bool,
pub applied: bool,
pub compatible_package: bool,
pub package_version: u32,
pub validated_records: u64,
pub imported_records: u64,
pub skipped_records: u64,
pub replaced_existing: bool,
pub snapshot_id: String,
pub failed_records: Vec<ImportFailure>,
}Fields§
§mode: ImportMode§dry_run: bool§applied: bool§compatible_package: bool§package_version: u32§validated_records: u64§imported_records: u64§skipped_records: u64§replaced_existing: bool§snapshot_id: String§failed_records: Vec<ImportFailure>Trait Implementations§
Source§impl Clone for ImportReport
impl Clone for ImportReport
Source§fn clone(&self) -> ImportReport
fn clone(&self) -> ImportReport
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 ImportReport
impl Debug for ImportReport
Source§impl<'de> Deserialize<'de> for ImportReport
impl<'de> Deserialize<'de> for ImportReport
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 PartialEq for ImportReport
impl PartialEq for ImportReport
Source§fn eq(&self, other: &ImportReport) -> bool
fn eq(&self, other: &ImportReport) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ImportReport
impl Serialize for ImportReport
impl Eq for ImportReport
impl StructuralPartialEq for ImportReport
Auto Trait Implementations§
impl Freeze for ImportReport
impl RefUnwindSafe for ImportReport
impl Send for ImportReport
impl Sync for ImportReport
impl Unpin for ImportReport
impl UnsafeUnpin for ImportReport
impl UnwindSafe for ImportReport
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