fix(client.rs): fixing file uploads requiring file name
Adding a file name parameter for the `File`-based uploads. Required for MIME type introspection BREAKING CHANGE:
This commit is contained in:
parent
9feea56056
commit
a534d6ebd8
9 changed files with 462 additions and 51 deletions
|
|
@ -77,6 +77,8 @@ impl<T> IntoClientResult<T> for SzuruEither<T, SzurubooruServerError> {
|
|||
#[derive(Debug, Serialize, Deserialize, Eq, PartialEq)]
|
||||
/// An error type returned by the server
|
||||
pub enum SzurubooruServerErrorType {
|
||||
/// Inavlid pool category color
|
||||
InvalidPoolCategoryColorError,
|
||||
/// Missing required file
|
||||
MissingRequiredFileError,
|
||||
/// Missing required parameter
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue