Struct tdlib::types::InputFileGenerated
source · pub struct InputFileGenerated {
pub original_path: String,
pub conversion: String,
pub expected_size: i64,
}
Expand description
A file generated by the application
Fields§
§original_path: String
Local path to a file from which the file is generated; may be empty if there is no such file
conversion: String
String specifying the conversion applied to the original file; must be persistent across application restarts. Conversions beginning with ‘#’ are reserved for internal TDLib usage
expected_size: i64
Expected size of the generated file, in bytes; 0 if unknown
Trait Implementations§
source§impl Clone for InputFileGenerated
impl Clone for InputFileGenerated
source§fn clone(&self) -> InputFileGenerated
fn clone(&self) -> InputFileGenerated
Returns a copy 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 InputFileGenerated
impl Debug for InputFileGenerated
source§impl Default for InputFileGenerated
impl Default for InputFileGenerated
source§fn default() -> InputFileGenerated
fn default() -> InputFileGenerated
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for InputFileGenerated
impl<'de> Deserialize<'de> for InputFileGenerated
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