pub struct UpdateFileGenerationStart {
pub generation_id: i64,
pub original_path: String,
pub destination_path: String,
pub conversion: String,
}Expand description
The file generation process needs to be started by the application. Use setFileGenerationProgress and finishFileGeneration to generate the file
Fields§
§generation_id: i64Unique identifier for the generation process
original_path: StringThe original path specified by the application in inputFileGenerated
destination_path: StringThe path to a file that must be created and where the new file must be generated by the application. If the application has no access to the path, it can use writeGeneratedFilePart to generate the file
conversion: StringIf the conversion is “#url#” than original_path contains an HTTP/HTTPS URL of a file that must be downloaded by the application. Otherwise, this is the conversion specified by the application in inputFileGenerated
Trait Implementations§
Source§impl Clone for UpdateFileGenerationStart
impl Clone for UpdateFileGenerationStart
Source§fn clone(&self) -> UpdateFileGenerationStart
fn clone(&self) -> UpdateFileGenerationStart
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 UpdateFileGenerationStart
impl Debug for UpdateFileGenerationStart
Source§impl Default for UpdateFileGenerationStart
impl Default for UpdateFileGenerationStart
Source§fn default() -> UpdateFileGenerationStart
fn default() -> UpdateFileGenerationStart
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpdateFileGenerationStart
impl<'de> Deserialize<'de> for UpdateFileGenerationStart
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 UpdateFileGenerationStart
Auto Trait Implementations§
impl Freeze for UpdateFileGenerationStart
impl RefUnwindSafe for UpdateFileGenerationStart
impl Send for UpdateFileGenerationStart
impl Sync for UpdateFileGenerationStart
impl Unpin for UpdateFileGenerationStart
impl UnsafeUnpin for UpdateFileGenerationStart
impl UnwindSafe for UpdateFileGenerationStart
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