#[non_exhaustive]pub struct ImportReport {
pub created: Vec<(String, usize)>,
pub skipped: Vec<(String, usize)>,
pub unsupported_domains: Vec<String>,
pub total_created: usize,
}Expand description
Result of an import_all run.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.created: Vec<(String, usize)>Records created per domain.
skipped: Vec<(String, usize)>Records skipped as already present, per domain.
unsupported_domains: Vec<String>Domains present in the envelope that this build cannot import.
total_created: usizeTotal records created.
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<ImportReport, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ImportReport, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ImportReport
Source§impl PartialEq for ImportReport
impl PartialEq for ImportReport
Source§impl Serialize for ImportReport
impl Serialize for ImportReport
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
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