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 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 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
Source§impl PartialEq for InputFileGenerated
impl PartialEq for InputFileGenerated
Source§impl Serialize for InputFileGenerated
impl Serialize for InputFileGenerated
impl StructuralPartialEq for InputFileGenerated
Auto Trait Implementations§
impl Freeze for InputFileGenerated
impl RefUnwindSafe for InputFileGenerated
impl Send for InputFileGenerated
impl Sync for InputFileGenerated
impl Unpin for InputFileGenerated
impl UnwindSafe for InputFileGenerated
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