pub struct ImportSession {
pub session_id: u64,
pub status: ImportSessionStatus,
pub original_filename: Option<String>,
pub items: Vec<DocumentImportItem>,
pub item_count: u64,
pub cost_cents: u64,
pub cost_limit_cents: Option<u64>,
pub warnings: Vec<String>,
pub error_code: Option<String>,
pub error_message: Option<String>,
}Expand description
Response from GET /projects/:id/import/sessions/:sid.
Fields§
§session_id: u64§status: ImportSessionStatus§original_filename: Option<String>§items: Vec<DocumentImportItem>§item_count: u64§cost_cents: u64§cost_limit_cents: Option<u64>§warnings: Vec<String>§error_code: Option<String>§error_message: Option<String>Trait Implementations§
Source§impl Clone for ImportSession
impl Clone for ImportSession
Source§impl Debug for ImportSession
impl Debug for ImportSession
Source§impl<'de> Deserialize<'de> for ImportSession
impl<'de> Deserialize<'de> for ImportSession
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 Forget for ImportSession
impl Freeze for ImportSessionwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<DocumentImportItem>: Freeze,
PhantomData<String>: Freeze,
impl Move for ImportSession
impl RefUnwindSafe for ImportSession
impl Send for ImportSession
impl Sync for ImportSession
impl Unpin for ImportSession
impl UnsafeUnpin for ImportSessionwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<DocumentImportItem>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for ImportSession
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