mirror of
https://github.com/teloxide/teloxide.git
synced 2025-03-14 11:44:04 +01:00
Derive Deserialize
and Serialize
on InputFile
This commit is contained in:
parent
b13472cbcd
commit
93344c5d06
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
use std::path::PathBuf;
|
||||
|
||||
#[derive(Debug, Hash, PartialEq, Eq, Clone)]
|
||||
#[derive(Debug, PartialEq, Eq, Hash, Clone, Deserialize, Serialize)]
|
||||
pub enum InputFile {
|
||||
File(PathBuf),
|
||||
Url(String),
|
||||
|
|
Loading…
Add table
Reference in a new issue