pub struct Output {
pub format: OutputFormat,
pub stage: Stage,
pub progress: f64,
pub estimated_time_remaining: Option<i64>,
pub is_preview: bool,
pub downloadable: bool,
}Expand description
One row from GET /api/documents/:id/outputs.
Fields§
§format: OutputFormat§stage: Stage§progress: f64§estimated_time_remaining: Option<i64>§is_preview: bool§downloadable: boolWhether the server offers this output as a download. The in-app HTML preview formats are not. Defaults to true for a server that predates the field.
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
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