pub struct Output {
pub index: u32,
pub document_id: Option<String>,
pub version_id: Option<String>,
pub filename: String,
pub content_type: String,
pub size_bytes: Option<u64>,
pub extra: Object,
}Expand description
One output file of an operation.
Fields§
§index: u320 for the whole output; 1 and up for the files inside a ZIP output.
document_id: Option<String>The document holding this output (for a part inside a ZIP, once it has been read).
version_id: Option<String>The version holding this output.
filename: StringThe file name.
content_type: StringThe content type.
size_bytes: Option<u64>The size in bytes.
extra: ObjectFields this SDK version does not model.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Output
impl<'de> Deserialize<'de> for Output
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 Output
Auto Trait Implementations§
impl Forget for Output
impl Freeze for Output
impl Move for Output
impl RefUnwindSafe for Output
impl Send for Output
impl Sync for Output
impl Unpin for Output
impl UnsafeUnpin for Output
impl UnwindSafe for Output
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