Struct rust_tdlib::types::CleanFileName  [−][src]
pub struct CleanFileName { /* fields omitted */ }Expand description
Removes potentially dangerous characters from the name of a file. The encoding of the file name is supposed to be UTF-8. Returns an empty string on failure. Can be called synchronously
Implementations
Trait Implementations
Performs the conversion.
Returns the “default value” for a type. Read more
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
    __D: Deserializer<'de>, [src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
    __D: Deserializer<'de>, [src]Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for CleanFileNameimpl Send for CleanFileNameimpl Sync for CleanFileNameimpl Unpin for CleanFileNameimpl UnwindSafe for CleanFileNameBlanket Implementations
Mutably borrows from an owned value. Read more