pub struct DocumentOperationsCreateRequestSource {
pub operation_id: String,
pub output: Option<i64>,
pub extra: Object,
}Expand description
Instead of documentId/versionId: the output of an earlier operation (chaining without a re-upload). There is no limit on how many operations follow one another this way.
Fields§
§operation_id: StringAn earlier operation of this workspace whose output this operation reads, with no re-upload. While it is queued or running this operation is accepted in state waiting and queued when it completes; if it fails this operation fails with SOURCE_FAILED and its request unit is given back.
output: Option<i64>0 (default): the whole output. n >= 1: part n of a multi-part (ZIP) output (split-pdf, pdf-to-images, pdf-table-extraction), see GET /api/v2/document-operations/{operationId}/outputs.
extra: ObjectFields this SDK version does not model.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DocumentOperationsCreateRequestSource
impl<'de> Deserialize<'de> for DocumentOperationsCreateRequestSource
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
impl StructuralPartialEq for DocumentOperationsCreateRequestSource
Auto Trait Implementations§
impl Forget for DocumentOperationsCreateRequestSource
impl Freeze for DocumentOperationsCreateRequestSource
impl Move for DocumentOperationsCreateRequestSource
impl RefUnwindSafe for DocumentOperationsCreateRequestSource
impl Send for DocumentOperationsCreateRequestSource
impl Sync for DocumentOperationsCreateRequestSource
impl Unpin for DocumentOperationsCreateRequestSource
impl UnsafeUnpin for DocumentOperationsCreateRequestSource
impl UnwindSafe for DocumentOperationsCreateRequestSource
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