pub struct ImportTask {Show 14 fields
pub class_name: Option<String>,
pub content_type: Option<String>,
pub end_time: Option<String>,
pub error_message: Option<String>,
pub execute_status: Option<ExecuteStatus>,
pub external_reference_code: Option<String>,
pub failed_items: Option<Vec<FailedItem>>,
pub id: Option<i64>,
pub import_strategy: Option<ImportStrategy>,
pub operation: Option<Operation>,
pub processed_items_count: Option<i32>,
pub start_time: Option<String>,
pub total_items_count: Option<i32>,
pub x_class_name: Option<String>,
}Fields§
§class_name: Option<String>The item class name for which data will be processed in batch.
content_type: Option<String>The file content type.
end_time: Option<String>The end time of import task operation.
error_message: Option<String>The error message in case of import task’s failed execution.
execute_status: Option<ExecuteStatus>The status of import task’s execution.
external_reference_code: Option<String>The optional external key of this account.
failed_items: Option<Vec<FailedItem>>§id: Option<i64>The task’s ID.
import_strategy: Option<ImportStrategy>Defines if import task will fail when error occurs or continue importing rest of the items.
operation: Option<Operation>The operation of import task.
processed_items_count: Option<i32>Number of items processed by import task opeartion.
start_time: Option<String>The start time of import task operation.
total_items_count: Option<i32>Total number of items that will be processed by import task operation.
x_class_name: Option<String>Implementations§
Source§impl ImportTask
impl ImportTask
pub fn new() -> ImportTask
Trait Implementations§
Source§impl Clone for ImportTask
impl Clone for ImportTask
Source§fn clone(&self) -> ImportTask
fn clone(&self) -> ImportTask
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 ImportTask
impl Debug for ImportTask
Source§impl Default for ImportTask
impl Default for ImportTask
Source§fn default() -> ImportTask
fn default() -> ImportTask
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ImportTask
impl<'de> Deserialize<'de> for ImportTask
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 ImportTask
impl PartialEq for ImportTask
Source§impl Serialize for ImportTask
impl Serialize for ImportTask
impl StructuralPartialEq for ImportTask
Auto Trait Implementations§
impl Freeze for ImportTask
impl RefUnwindSafe for ImportTask
impl Send for ImportTask
impl Sync for ImportTask
impl Unpin for ImportTask
impl UnwindSafe for ImportTask
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