mirror of
https://github.com/lifegpc/pixiv_downloader.git
synced 2026-07-08 01:32:41 +08:00
add new option use-progress-bar
fix panic when artwork is 404
This commit is contained in:
@@ -33,3 +33,8 @@ impl ToJson for &JsonValue {
|
||||
Some((*self).clone())
|
||||
}
|
||||
}
|
||||
|
||||
pub trait FromJson where Self: Sized {
|
||||
type Err;
|
||||
fn from_json<T: ToJson>(v: T) -> Result<Self, Self::Err>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user