pub struct ImportJobStatus {
pub job_id: String,
pub status: String,
pub format: String,
pub total: usize,
pub imported: usize,
pub skipped: usize,
pub errors: Vec<String>,
pub started_at: u64,
pub finished_at: Option<u64>,
}Expand description
Status of an import job returned by GET /v1/import/{job_id}/status.
Fields§
§job_id: StringUnique job identifier.
status: StringCurrent job status (e.g. “running”, “completed”, “failed”).
format: StringImport file format (e.g. “jsonl”, “csv”).
total: usizeTotal records in the import.
imported: usizeRecords successfully imported.
skipped: usizeRecords skipped (duplicates, invalid).
errors: Vec<String>Per-record error messages, if any.
started_at: u64Unix timestamp when the job started.
finished_at: Option<u64>Unix timestamp when the job finished, if completed.
Trait Implementations§
Source§impl Clone for ImportJobStatus
impl Clone for ImportJobStatus
Source§fn clone(&self) -> ImportJobStatus
fn clone(&self) -> ImportJobStatus
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 ImportJobStatus
impl Debug for ImportJobStatus
Source§impl<'de> Deserialize<'de> for ImportJobStatus
impl<'de> Deserialize<'de> for ImportJobStatus
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 ImportJobStatus
impl RefUnwindSafe for ImportJobStatus
impl Send for ImportJobStatus
impl Sync for ImportJobStatus
impl Unpin for ImportJobStatus
impl UnsafeUnpin for ImportJobStatus
impl UnwindSafe for ImportJobStatus
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