pub struct ImportReceipt {
pub envelope_id: EnvelopeId,
pub schema_version: String,
pub content_digest: String,
pub status: ImportStatus,
pub record_count: usize,
pub imported_at: String,
pub was_duplicate: bool,
pub trace_id: Option<TraceId>,
}Expand description
Receipt confirming the outcome of an import attempt.
Fields§
§envelope_id: EnvelopeIdEnvelope that was imported.
schema_version: StringSchema version.
content_digest: StringContent digest.
status: ImportStatusImport outcome.
record_count: usizeNumber of records in the envelope.
imported_at: StringISO 8601 timestamp of the import.
was_duplicate: boolWhether this was a duplicate (idempotent no-op).
trace_id: Option<TraceId>Trace ID if provided.
Trait Implementations§
Source§impl Clone for ImportReceipt
impl Clone for ImportReceipt
Source§fn clone(&self) -> ImportReceipt
fn clone(&self) -> ImportReceipt
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 ImportReceipt
impl Debug for ImportReceipt
Source§impl<'de> Deserialize<'de> for ImportReceipt
impl<'de> Deserialize<'de> for ImportReceipt
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
Auto Trait Implementations§
impl Freeze for ImportReceipt
impl RefUnwindSafe for ImportReceipt
impl Send for ImportReceipt
impl Sync for ImportReceipt
impl Unpin for ImportReceipt
impl UnsafeUnpin for ImportReceipt
impl UnwindSafe for ImportReceipt
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