aboutsummaryrefslogtreecommitdiffstats
path: root/rust
diff options
context:
space:
mode:
Diffstat (limited to 'rust')
-rw-r--r--rust/fatcat-openapi/examples/client.rs11
-rw-r--r--rust/fatcat-openapi/examples/server.rs19
-rw-r--r--rust/fatcat-openapi/examples/server_lib/server.rs206
-rw-r--r--rust/fatcat-openapi/src/client.rs213
-rw-r--r--rust/fatcat-openapi/src/lib.rs589
-rw-r--r--rust/fatcat-openapi/src/mimetypes.rs990
-rw-r--r--rust/fatcat-openapi/src/models.rs2
-rw-r--r--rust/fatcat-openapi/src/server.rs6
8 files changed, 1036 insertions, 1000 deletions
diff --git a/rust/fatcat-openapi/examples/client.rs b/rust/fatcat-openapi/examples/client.rs
index d7b3965f..5ed6122a 100644
--- a/rust/fatcat-openapi/examples/client.rs
+++ b/rust/fatcat-openapi/examples/client.rs
@@ -1,7 +1,6 @@
#![allow(missing_docs, unused_variables, trivial_casts)]
-extern crate clap;
-extern crate fatcat;
+use fatcat_openapi;
#[allow(unused_extern_crates)]
extern crate futures;
#[allow(unused_extern_crates)]
@@ -11,7 +10,7 @@ extern crate uuid;
use clap::{App, Arg};
#[allow(unused_imports)]
-use fatcat::{
+use fatcat_openapi::{
AcceptEditgroupResponse, ApiError, ApiNoContext, AuthCheckResponse, AuthOidcResponse, ContextWrapperExt, CreateAuthTokenResponse, CreateContainerAutoBatchResponse, CreateContainerResponse,
CreateCreatorAutoBatchResponse, CreateCreatorResponse, CreateEditgroupAnnotationResponse, CreateEditgroupResponse, CreateFileAutoBatchResponse, CreateFileResponse, CreateFilesetAutoBatchResponse,
CreateFilesetResponse, CreateReleaseAutoBatchResponse, CreateReleaseResponse, CreateWebcaptureAutoBatchResponse, CreateWebcaptureResponse, CreateWorkAutoBatchResponse, CreateWorkResponse,
@@ -123,14 +122,14 @@ fn main() {
);
let client = if is_https {
// Using Simple HTTPS
- fatcat::Client::try_new_https(&base_url, "examples/ca.pem").expect("Failed to create HTTPS client")
+ fatcat_openapi::Client::try_new_https(&base_url, "examples/ca.pem").expect("Failed to create HTTPS client")
} else {
// Using HTTP
- fatcat::Client::try_new_http(&base_url).expect("Failed to create HTTP client")
+ fatcat_openapi::Client::try_new_http(&base_url).expect("Failed to create HTTP client")
};
// Using a non-default `Context` is not required; this is just an example!
- let client = client.with_context(fatcat::Context::new_with_span_id(self::uuid::Uuid::new_v4().to_string()));
+ let client = client.with_context(fatcat_openapi::Context::new_with_span_id(self::uuid::Uuid::new_v4().to_string()));
match matches.value_of("operation") {
Some("AuthCheck") => {
diff --git a/rust/fatcat-openapi/examples/server.rs b/rust/fatcat-openapi/examples/server.rs
index 8d2e9b64..a033413b 100644
--- a/rust/fatcat-openapi/examples/server.rs
+++ b/rust/fatcat-openapi/examples/server.rs
@@ -4,17 +4,13 @@
// Imports required by this file.
// extern crate <name of this crate>;
-extern crate clap;
-extern crate fatcat;
-extern crate hyper_openssl;
-extern crate iron;
-extern crate swagger;
+use fatcat_openapi;
// Imports required by server library.
-// extern crate fatcat;
+// extern crate fatcat_openapi;
// extern crate swagger;
-extern crate chrono;
-extern crate futures;
+use chrono;
+use futures;
#[macro_use]
extern crate error_chain;
@@ -24,7 +20,6 @@ use hyper_openssl::openssl::ssl::{SslAcceptorBuilder, SslMethod};
use hyper_openssl::openssl::x509::X509_FILETYPE_PEM;
use hyper_openssl::OpensslServer;
use iron::{Chain, Iron};
-use swagger::auth::AllowAllMiddleware;
mod server_lib;
@@ -46,13 +41,13 @@ fn main() {
let matches = App::new("server").arg(Arg::with_name("https").long("https").help("Whether to use HTTPS or not")).get_matches();
let server = server_lib::server().unwrap();
- let router = fatcat::router(server);
+ let router = fatcat_openapi::router(server);
let mut chain = Chain::new(router);
- chain.link_before(fatcat::server::ExtractAuthData);
+ chain.link_before(fatcat_openapi::server::ExtractAuthData);
// add authentication middlewares into the chain here
// for the purpose of this example, pretend we have authenticated a user
- chain.link_before(AllowAllMiddleware::new("cosmo"));
+ //chain.link_before(AllowAllMiddleware::new("cosmo"));
if matches.is_present("https") {
// Using Simple HTTPS
diff --git a/rust/fatcat-openapi/examples/server_lib/server.rs b/rust/fatcat-openapi/examples/server_lib/server.rs
index 966381e4..838bd63d 100644
--- a/rust/fatcat-openapi/examples/server_lib/server.rs
+++ b/rust/fatcat-openapi/examples/server_lib/server.rs
@@ -9,8 +9,8 @@ use std::collections::HashMap;
use swagger;
-use fatcat::models;
-use fatcat::{
+use fatcat_openapi::models;
+use fatcat_openapi::{
AcceptEditgroupResponse, Api, ApiError, AuthCheckResponse, AuthOidcResponse, Context, CreateAuthTokenResponse, CreateContainerAutoBatchResponse, CreateContainerResponse,
CreateCreatorAutoBatchResponse, CreateCreatorResponse, CreateEditgroupAnnotationResponse, CreateEditgroupResponse, CreateFileAutoBatchResponse, CreateFileResponse, CreateFilesetAutoBatchResponse,
CreateFilesetResponse, CreateReleaseAutoBatchResponse, CreateReleaseResponse, CreateWebcaptureAutoBatchResponse, CreateWebcaptureResponse, CreateWorkAutoBatchResponse, CreateWorkResponse,
@@ -31,19 +31,19 @@ use fatcat::{
pub struct Server;
impl Api for Server {
- fn auth_check(&self, role: Option<String>, context: &Context) -> Box<Future<Item = AuthCheckResponse, Error = ApiError> + Send> {
+ fn auth_check(&self, role: Option<String>, context: &Context) -> Box<dyn Future<Item = AuthCheckResponse, Error = ApiError> + Send> {
let context = context.clone();
println!("auth_check({:?}) - X-Span-ID: {:?}", role, context.x_span_id.unwrap_or(String::from("<none>")).clone());
Box::new(futures::failed("Generic failure".into()))
}
- fn auth_oidc(&self, oidc_params: models::AuthOidc, context: &Context) -> Box<Future<Item = AuthOidcResponse, Error = ApiError> + Send> {
+ fn auth_oidc(&self, oidc_params: models::AuthOidc, context: &Context) -> Box<dyn Future<Item = AuthOidcResponse, Error = ApiError> + Send> {
let context = context.clone();
println!("auth_oidc({:?}) - X-Span-ID: {:?}", oidc_params, context.x_span_id.unwrap_or(String::from("<none>")).clone());
Box::new(futures::failed("Generic failure".into()))
}
- fn create_auth_token(&self, editor_id: String, duration_seconds: Option<i32>, context: &Context) -> Box<Future<Item = CreateAuthTokenResponse, Error = ApiError> + Send> {
+ fn create_auth_token(&self, editor_id: String, duration_seconds: Option<i32>, context: &Context) -> Box<dyn Future<Item = CreateAuthTokenResponse, Error = ApiError> + Send> {
let context = context.clone();
println!(
"create_auth_token(\"{}\", {:?}) - X-Span-ID: {:?}",
@@ -54,19 +54,19 @@ impl Api for Server {
Box::new(futures::failed("Generic failure".into()))
}
- fn get_changelog(&self, limit: Option<i64>, context: &Context) -> Box<Future<Item = GetChangelogResponse, Error = ApiError> + Send> {
+ fn get_changelog(&self, limit: Option<i64>, context: &Context) -> Box<dyn Future<Item = GetChangelogResponse, Error = ApiError> + Send> {
let context = context.clone();
println!("get_changelog({:?}) - X-Span-ID: {:?}", limit, context.x_span_id.unwrap_or(String::from("<none>")).clone());
Box::new(futures::failed("Generic failure".into()))
}
- fn get_changelog_entry(&self, index: i64, context: &Context) -> Box<Future<Item = GetChangelogEntryResponse, Error = ApiError> + Send> {
+ fn get_changelog_entry(&self, index: i64, context: &Context) -> Box<dyn Future<Item = GetChangelogEntryResponse, Error = ApiError> + Send> {
let context = context.clone();
println!("get_changelog_entry({}) - X-Span-ID: {:?}", index, context.x_span_id.unwrap_or(String::from("<none>")).clone());
Box::new(futures::failed("Generic failure".into()))
}
- fn create_container(&self, editgroup_id: String, entity: models::ContainerEntity, context: &Context) -> Box<Future<Item = CreateContainerResponse, Error = ApiError> + Send> {
+ fn create_container(&self, editgroup_id: String, entity: models::ContainerEntity, context: &Context) -> Box<dyn Future<Item = CreateContainerResponse, Error = ApiError> + Send> {
let context = context.clone();
println!(
"create_container(\"{}\", {:?}) - X-Span-ID: {:?}",
@@ -77,7 +77,7 @@ impl Api for Server {
Box::new(futures::failed("Generic failure".into()))
}
- fn create_container_auto_batch(&self, auto_batch: models::ContainerAutoBatch, context: &Context) -> Box<Future<Item = CreateContainerAutoBatchResponse, Error = ApiError> + Send> {
+ fn create_container_auto_batch(&self, auto_batch: models::ContainerAutoBatch, context: &Context) -> Box<dyn Future<Item = CreateContainerAutoBatchResponse, Error = ApiError> + Send> {
let context = context.clone();
println!(
"create_container_auto_batch({:?}) - X-Span-ID: {:?}",
@@ -87,7 +87,7 @@ impl Api for Server {
Box::new(futures::failed("Generic failure".into()))
}
- fn delete_container(&self, editgroup_id: String, ident: String, context: &Context) -> Box<Future<Item = DeleteContainerResponse, Error = ApiError> + Send> {
+ fn delete_container(&self, editgroup_id: String, ident: String, context: &Context) -> Box<dyn Future<Item = DeleteContainerResponse, Error = ApiError> + Send> {
let context = context.clone();
println!(
"delete_container(\"{}\", \"{}\") - X-Span-ID: {:?}",
@@ -98,7 +98,7 @@ impl Api for Server {
Box::new(futures::failed("Generic failure".into()))
}
- fn delete_container_edit(&self, editgroup_id: String, edit_id: String, context: &Context) -> Box<Future<Item = DeleteContainerEditResponse, Error = ApiError> + Send> {
+ fn delete_container_edit(&self, editgroup_id: String, edit_id: String, context: &Context) -> Box<dyn Future<Item = DeleteContainerEditResponse, Error = ApiError> + Send> {
let context = context.clone();
println!(
"delete_container_edit(\"{}\", \"{}\") - X-Span-ID: {:?}",
@@ -109,7 +109,7 @@ impl Api for Server {
Box::new(futures::failed("Generic failure".into()))
}
- fn get_container(&self, ident: String, expand: Option<String>, hide: Option<String>, context: &Context) -> Box<Future<Item = GetContainerResponse, Error = ApiError> + Send> {
+ fn get_container(&self, ident: String, expand: Option<String>, hide: Option<String>, context: &Context) -> Box<dyn Future<Item = GetContainerResponse, Error = ApiError> + Send> {
let context = context.clone();
println!(
"get_container(\"{}\", {:?}, {:?}) - X-Span-ID: {:?}",
@@ -121,13 +121,13 @@ impl Api for Server {
Box::new(futures::failed("Generic failure".into()))
}
- fn get_container_edit(&self, edit_id: String, context: &Context) -> Box<Future<Item = GetContainerEditResponse, Error = ApiError> + Send> {
+ fn get_container_edit(&self, edit_id: String, context: &Context) -> Box<dyn Future<Item = GetContainerEditResponse, Error = ApiError> + Send> {
let context = context.clone();
println!("get_container_edit(\"{}\") - X-Span-ID: {:?}", edit_id, context.x_span_id.unwrap_or(String::from("<none>")).clone());
Box::new(futures::failed("Generic failure".into()))
}
- fn get_container_history(&self, ident: String, limit: Option<i64>, context: &Context) -> Box<Future<Item = GetContainerHistoryResponse, Error = ApiError> + Send> {
+ fn get_container_history(&self, ident: String, limit: Option<i64>, context: &Context) -> Box<dyn Future<Item = GetContainerHistoryResponse, Error = ApiError> + Send> {
let context = context.clone();
println!(
"get_container_history(\"{}\", {:?}) - X-Span-ID: {:?}",
@@ -138,13 +138,13 @@ impl Api for Server {
Box::new(futures::failed("Generic failure".into()))
}
- fn get_container_redirects(&self, ident: String, context: &Context) -> Box<Future<Item = GetContainerRedirectsResponse, Error = ApiError> + Send> {
+ fn get_container_redirects(&self, ident: String, context: &Context) -> Box<dyn Future<Item = GetContainerRedirectsResponse, Error = ApiError> + Send> {
let context = context.clone();
println!("get_container_redirects(\"{}\") - X-Span-ID: {:?}", ident, context.x_span_id.unwrap_or(String::from("<none>")).clone());
Box::new(futures::failed("Generic failure".into()))
}
- fn get_container_revision(&self, rev_id: String, expand: Option<String>, hide: Option<String>, context: &Context) -> Box<Future<Item = GetContainerRevisionResponse, Error = ApiError> + Send> {
+ fn get_container_revision(&self, rev_id: String, expand: Option<String>, hide: Option<String>, context: &Context) -> Box<dyn Future<Item = GetContainerRevisionResponse, Error = ApiError> + Send> {
let context = context.clone();
println!(
"get_container_revision(\"{}\", {:?}, {:?}) - X-Span-ID: {:?}",
@@ -163,7 +163,7 @@ impl Api for Server {
expand: Option<String>,
hide: Option<String>,
context: &Context,
- ) -> Box<Future<Item = LookupContainerResponse, Error = ApiError> + Send> {
+ ) -> Box<dyn Future<Item = LookupContainerResponse, Error = ApiError> + Send> {
let context = context.clone();
println!(
"lookup_container({:?}, {:?}, {:?}, {:?}) - X-Span-ID: {:?}",
@@ -176,7 +176,7 @@ impl Api for Server {
Box::new(futures::failed("Generic failure".into()))
}
- fn update_container(&self, editgroup_id: String, ident: String, entity: models::ContainerEntity, context: &Context) -> Box<Future<Item = UpdateContainerResponse, Error = ApiError> + Send> {
+ fn update_container(&self, editgroup_id: String, ident: String, entity: models::ContainerEntity, context: &Context) -> Box<dyn Future<Item = UpdateContainerResponse, Error = ApiError> + Send> {
let context = context.clone();
println!(
"update_container(\"{}\", \"{}\", {:?}) - X-Span-ID: {:?}",
@@ -188,7 +188,7 @@ impl Api for Server {
Box::new(futures::failed("Generic failure".into()))
}
- fn create_creator(&self, editgroup_id: String, entity: models::CreatorEntity, context: &Context) -> Box<Future<Item = CreateCreatorResponse, Error = ApiError> + Send> {
+ fn create_creator(&self, editgroup_id: String, entity: models::CreatorEntity, context: &Context) -> Box<dyn Future<Item = CreateCreatorResponse, Error = ApiError> + Send> {
let context = context.clone();
println!(
"create_creator(\"{}\", {:?}) - X-Span-ID: {:?}",
@@ -199,7 +199,7 @@ impl Api for Server {
Box::new(futures::failed("Generic failure".into()))
}
- fn create_creator_auto_batch(&self, auto_batch: models::CreatorAutoBatch, context: &Context) -> Box<Future<Item = CreateCreatorAutoBatchResponse, Error = ApiError> + Send> {
+ fn create_creator_auto_batch(&self, auto_batch: models::CreatorAutoBatch, context: &Context) -> Box<dyn Future<Item = CreateCreatorAutoBatchResponse, Error = ApiError> + Send> {
let context = context.clone();
println!(
"create_creator_auto_batch({:?}) - X-Span-ID: {:?}",
@@ -209,7 +209,7 @@ impl Api for Server {
Box::new(futures::failed("Generic failure".into()))
}
- fn delete_creator(&self, editgroup_id: String, ident: String, context: &Context) -> Box<Future<Item = DeleteCreatorResponse, Error = ApiError> + Send> {
+ fn delete_creator(&self, editgroup_id: String, ident: String, context: &Context) -> Box<dyn Future<Item = DeleteCreatorResponse, Error = ApiError> + Send> {
let context = context.clone();
println!(
"delete_creator(\"{}\", \"{}\") - X-Span-ID: {:?}",
@@ -220,7 +220,7 @@ impl Api for Server {
Box::new(futures::failed("Generic failure".into()))
}
- fn delete_creator_edit(&self, editgroup_id: String, edit_id: String, context: &Context) -> Box<Future<Item = DeleteCreatorEditResponse, Error = ApiError> + Send> {
+ fn delete_creator_edit(&self, editgroup_id: String, edit_id: String, context: &Context) -> Box<dyn Future<Item = DeleteCreatorEditResponse, Error = ApiError> + Send> {
let context = context.clone();
println!(
"delete_creator_edit(\"{}\", \"{}\") - X-Span-ID: {:?}",
@@ -231,7 +231,7 @@ impl Api for Server {
Box::new(futures::failed("Generic failure".into()))
}
- fn get_creator(&self, ident: String, expand: Option<String>, hide: Option<String>, context: &Context) -> Box<Future<Item = GetCreatorResponse, Error = ApiError> + Send> {
+ fn get_creator(&self, ident: String, expand: Option<String>, hide: Option<String>, context: &Context) -> Box<dyn Future<Item = GetCreatorResponse, Error = ApiError> + Send> {
let context = context.clone();
println!(
"get_creator(\"{}\", {:?}, {:?}) - X-Span-ID: {:?}",
@@ -243,13 +243,13 @@ impl Api for Server {
Box::new(futures::failed("Generic failure".into()))
}
- fn get_creator_edit(&self, edit_id: String, context: &Context) -> Box<Future<Item = GetCreatorEditResponse, Error = ApiError> + Send> {
+ fn get_creator_edit(&self, edit_id: String, context: &Context) -> Box<dyn Future<Item = GetCreatorEditResponse, Error = ApiError> + Send> {
let context = context.clone();
println!("get_creator_edit(\"{}\") - X-Span-ID: {:?}", edit_id, context.x_span_id.unwrap_or(String::from("<none>")).clone());
Box::new(futures::failed("Generic failure".into()))
}
- fn get_creator_history(&self, ident: String, limit: Option<i64>, context: &Context) -> Box<Future<Item = GetCreatorHistoryResponse, Error = ApiError> + Send> {
+ fn get_creator_history(&self, ident: String, limit: Option<i64>, context: &Context) -> Box<dyn Future<Item = GetCreatorHistoryResponse, Error = ApiError> + Send> {
let context = context.clone();
println!(
"get_creator_history(\"{}\", {:?}) - X-Span-ID: {:?}",
@@ -260,13 +260,13 @@ impl Api for Server {
Box::new(futures::failed("Generic failure".into()))
}
- fn get_creator_redirects(&self, ident: String, context: &Context) -> Box<Future<Item = GetCreatorRedirectsResponse, Error = ApiError> + Send> {
+ fn get_creator_redirects(&self, ident: String, context: &Context) -> Box<dyn Future<Item = GetCreatorRedirectsResponse, Error = ApiError> + Send> {
let context = context.clone();
println!("get_creator_redirects(\"{}\") - X-Span-ID: {:?}", ident, context.x_span_id.unwrap_or(String::from("<none>")).clone());
Box::new(futures::failed("Generic failure".into()))
}
- fn get_creator_releases(&self, ident: String, hide: Option<String>, context: &Context) -> Box<Future<Item = GetCreatorReleasesResponse, Error = ApiError> + Send> {
+ fn get_creator_releases(&self, ident: String, hide: Option<String>, context: &Context) -> Box<dyn Future<Item = GetCreatorReleasesResponse, Error = ApiError> + Send> {
let context = context.clone();
println!(
"get_creator_releases(\"{}\", {:?}) - X-Span-ID: {:?}",
@@ -277,7 +277,7 @@ impl Api for Server {
Box::new(futures::failed("Generic failure".into()))
}
- fn get_creator_revision(&self, rev_id: String, expand: Option<String>, hide: Option<String>, context: &Context) -> Box<Future<Item = GetCreatorRevisionResponse, Error = ApiError> + Send> {
+ fn get_creator_revision(&self, rev_id: String, expand: Option<String>, hide: Option<String>, context: &Context) -> Box<dyn Future<Item = GetCreatorRevisionResponse, Error = ApiError> + Send> {
let context = context.clone();
println!(
"get_creator_revision(\"{}\", {:?}, {:?}) - X-Span-ID: {:?}",
@@ -296,7 +296,7 @@ impl Api for Server {
expand: Option<String>,
hide: Option<String>,
context: &Context,
- ) -> Box<Future<Item = LookupCreatorResponse, Error = ApiError> + Send> {
+ ) -> Box<dyn Future<Item = LookupCreatorResponse, Error = ApiError> + Send> {
let context = context.clone();
println!(
"lookup_creator({:?}, {:?}, {:?}, {:?}) - X-Span-ID: {:?}",
@@ -309,7 +309,7 @@ impl Api for Server {
Box::new(futures::failed("Generic failure".into()))
}
- fn update_creator(&self, editgroup_id: String, ident: String, entity: models::CreatorEntity, context: &Context) -> Box<Future<Item = UpdateCreatorResponse, Error = ApiError> + Send> {
+ fn update_creator(&self, editgroup_id: String, ident: String, entity: models::CreatorEntity, context: &Context) -> Box<dyn Future<Item = UpdateCreatorResponse, Error = ApiError> + Send> {
let context = context.clone();
println!(
"update_creator(\"{}\", \"{}\", {:?}) - X-Span-ID: {:?}",
@@ -321,13 +321,13 @@ impl Api for Server {
Box::new(futures::failed("Generic failure".into()))
}
- fn accept_editgroup(&self, editgroup_id: String, context: &Context) -> Box<Future<Item = AcceptEditgroupResponse, Error = ApiError> + Send> {
+ fn accept_editgroup(&self, editgroup_id: String, context: &Context) -> Box<dyn Future<Item = AcceptEditgroupResponse, Error = ApiError> + Send> {
let context = context.clone();
println!("accept_editgroup(\"{}\") - X-Span-ID: {:?}", editgroup_id, context.x_span_id.unwrap_or(String::from("<none>")).clone());
Box::new(futures::failed("Generic failure".into()))
}
- fn create_editgroup(&self, editgroup: models::Editgroup, context: &Context) -> Box<Future<Item = CreateEditgroupResponse, Error = ApiError> + Send> {
+ fn create_editgroup(&self, editgroup: models::Editgroup, context: &Context) -> Box<dyn Future<Item = CreateEditgroupResponse, Error = ApiError> + Send> {
let context = context.clone();
println!("create_editgroup({:?}) - X-Span-ID: {:?}", editgroup, context.x_span_id.unwrap_or(String::from("<none>")).clone());
Box::new(futures::failed("Generic failure".into()))
@@ -338,7 +338,7 @@ impl Api for Server {
editgroup_id: String,
annotation: models::EditgroupAnnotation,
context: &Context,
- ) -> Box<Future<Item = CreateEditgroupAnnotationResponse, Error = ApiError> + Send> {
+ ) -> Box<dyn Future<Item = CreateEditgroupAnnotationResponse, Error = ApiError> + Send> {
let context = context.clone();
println!(
"create_editgroup_annotation(\"{}\", {:?}) - X-Span-ID: {:?}",
@@ -349,13 +349,13 @@ impl Api for Server {
Box::new(futures::failed("Generic failure".into()))
}
- fn get_editgroup(&self, editgroup_id: String, context: &Context) -> Box<Future<Item = GetEditgroupResponse, Error = ApiError> + Send> {
+ fn get_editgroup(&self, editgroup_id: String, context: &Context) -> Box<dyn Future<Item = GetEditgroupResponse, Error = ApiError> + Send> {
let context = context.clone();
println!("get_editgroup(\"{}\") - X-Span-ID: {:?}", editgroup_id, context.x_span_id.unwrap_or(String::from("<none>")).clone());
Box::new(futures::failed("Generic failure".into()))
}
- fn get_editgroup_annotations(&self, editgroup_id: String, expand: Option<String>, context: &Context) -> Box<Future<Item = GetEditgroupAnnotationsResponse, Error = ApiError> + Send> {
+ fn get_editgroup_annotations(&self, editgroup_id: String, expand: Option<String>, context: &Context) -> Box<dyn Future<Item = GetEditgroupAnnotationsResponse, Error = ApiError> + Send> {
let context = context.clone();
println!(
"get_editgroup_annotations(\"{}\", {:?}) - X-Span-ID: {:?}",
@@ -373,7 +373,7 @@ impl Api for Server {
before: Option<chrono::DateTime<chrono::Utc>>,
since: Option<chrono::DateTime<chrono::Utc>>,
context: &Context,
- ) -> Box<Future<Item = GetEditgroupsReviewableResponse, Error = ApiError> + Send> {
+ ) -> Box<dyn Future<Item = GetEditgroupsReviewableResponse, Error = ApiError> + Send> {
let context = context.clone();
println!(
"get_editgroups_reviewable({:?}, {:?}, {:?}, {:?}) - X-Span-ID: {:?}",
@@ -386,7 +386,13 @@ impl Api for Server {
Box::new(futures::failed("Generic failure".into()))
}
- fn update_editgroup(&self, editgroup_id: String, editgroup: models::Editgroup, submit: Option<bool>, context: &Context) -> Box<Future<Item = UpdateEditgroupResponse, Error = ApiError> + Send> {
+ fn update_editgroup(
+ &self,
+ editgroup_id: String,
+ editgroup: models::Editgroup,
+ submit: Option<bool>,
+ context: &Context,
+ ) -> Box<dyn Future<Item = UpdateEditgroupResponse, Error = ApiError> + Send> {
let context = context.clone();
println!(
"update_editgroup(\"{}\", {:?}, {:?}) - X-Span-ID: {:?}",
@@ -398,7 +404,7 @@ impl Api for Server {
Box::new(futures::failed("Generic failure".into()))
}
- fn get_editor(&self, editor_id: String, context: &Context) -> Box<Future<Item = GetEditorResponse, Error = ApiError> + Send> {
+ fn get_editor(&self, editor_id: String, context: &Context) -> Box<dyn Future<Item = GetEditorResponse, Error = ApiError> + Send> {
let context = context.clone();
println!("get_editor(\"{}\") - X-Span-ID: {:?}", editor_id, context.x_span_id.unwrap_or(String::from("<none>")).clone());
Box::new(futures::failed("Generic failure".into()))
@@ -411,7 +417,7 @@ impl Api for Server {
before: Option<chrono::DateTime<chrono::Utc>>,
since: Option<chrono::DateTime<chrono::Utc>>,
context: &Context,
- ) -> Box<Future<Item = GetEditorAnnotationsResponse, Error = ApiError> + Send> {
+ ) -> Box<dyn Future<Item = GetEditorAnnotationsResponse, Error = ApiError> + Send> {
let context = context.clone();
println!(
"get_editor_annotations(\"{}\", {:?}, {:?}, {:?}) - X-Span-ID: {:?}",
@@ -431,7 +437,7 @@ impl Api for Server {
before: Option<chrono::DateTime<chrono::Utc>>,
since: Option<chrono::DateTime<chrono::Utc>>,
context: &Context,
- ) -> Box<Future<Item = GetEditorEditgroupsResponse, Error = ApiError> + Send> {
+ ) -> Box<dyn Future<Item = GetEditorEditgroupsResponse, Error = ApiError> + Send> {
let context = context.clone();
println!(
"get_editor_editgroups(\"{}\", {:?}, {:?}, {:?}) - X-Span-ID: {:?}",
@@ -444,7 +450,7 @@ impl Api for Server {
Box::new(futures::failed("Generic failure".into()))
}
- fn update_editor(&self, editor_id: String, editor: models::Editor, context: &Context) -> Box<Future<Item = UpdateEditorResponse, Error = ApiError> + Send> {
+ fn update_editor(&self, editor_id: String, editor: models::Editor, context: &Context) -> Box<dyn Future<Item = UpdateEditorResponse, Error = ApiError> + Send> {
let context = context.clone();
println!(
"update_editor(\"{}\", {:?}) - X-Span-ID: {:?}",
@@ -455,7 +461,7 @@ impl Api for Server {
Box::new(futures::failed("Generic failure".into()))
}
- fn create_file(&self, editgroup_id: String, entity: models::FileEntity, context: &Context) -> Box<Future<Item = CreateFileResponse, Error = ApiError> + Send> {
+ fn create_file(&self, editgroup_id: String, entity: models::FileEntity, context: &Context) -> Box<dyn Future<Item = CreateFileResponse, Error = ApiError> + Send> {
let context = context.clone();
println!(
"create_file(\"{}\", {:?}) - X-Span-ID: {:?}",
@@ -466,7 +472,7 @@ impl Api for Server {
Box::new(futures::failed("Generic failure".into()))
}
- fn create_file_auto_batch(&self, auto_batch: models::FileAutoBatch, context: &Context) -> Box<Future<Item = CreateFileAutoBatchResponse, Error = ApiError> + Send> {
+ fn create_file_auto_batch(&self, auto_batch: models::FileAutoBatch, context: &Context) -> Box<dyn Future<Item = CreateFileAutoBatchResponse, Error = ApiError> + Send> {
let context = context.clone();
println!(
"create_file_auto_batch({:?}) - X-Span-ID: {:?}",
@@ -476,7 +482,7 @@ impl Api for Server {
Box::new(futures::failed("Generic failure".into()))
}
- fn delete_file(&self, editgroup_id: String, ident: String, context: &Context) -> Box<Future<Item = DeleteFileResponse, Error = ApiError> + Send> {
+ fn delete_file(&self, editgroup_id: String, ident: String, context: &Context) -> Box<dyn Future<Item = DeleteFileResponse, Error = ApiError> + Send> {
let context = context.clone();
println!(
"delete_file(\"{}\", \"{}\") - X-Span-ID: {:?}",
@@ -487,7 +493,7 @@ impl Api for Server {
Box::new(futures::failed("Generic failure".into()))
}
- fn delete_file_edit(&self, editgroup_id: String, edit_id: String, context: &Context) -> Box<Future<Item = DeleteFileEditResponse, Error = ApiError> + Send> {
+ fn delete_file_edit(&self, editgroup_id: String, edit_id: String, context: &Context) -> Box<dyn Future<Item = DeleteFileEditResponse, Error = ApiError> + Send> {
let context = context.clone();
println!(
"delete_file_edit(\"{}\", \"{}\") - X-Span-ID: {:?}",
@@ -498,7 +504,7 @@ impl Api for Server {
Box::new(futures::failed("Generic failure".into()))
}
- fn get_file(&self, ident: String, expand: Option<String>, hide: Option<String>, context: &Context) -> Box<Future<Item = GetFileResponse, Error = ApiError> + Send> {
+ fn get_file(&self, ident: String, expand: Option<String>, hide: Option<String>, context: &Context) -> Box<dyn Future<Item = GetFileResponse, Error = ApiError> + Send> {
let context = context.clone();
println!(
"get_file(\"{}\", {:?}, {:?}) - X-Span-ID: {:?}",
@@ -510,13 +516,13 @@ impl Api for Server {
Box::new(futures::failed("Generic failure".into()))
}
- fn get_file_edit(&self, edit_id: String, context: &Context) -> Box<Future<Item = GetFileEditResponse, Error = ApiError> + Send> {
+ fn get_file_edit(&self, edit_id: String, context: &Context) -> Box<dyn Future<Item = GetFileEditResponse, Error = ApiError> + Send> {
let context = context.clone();
println!("get_file_edit(\"{}\") - X-Span-ID: {:?}", edit_id, context.x_span_id.unwrap_or(String::from("<none>")).clone());
Box::new(futures::failed("Generic failure".into()))
}
- fn get_file_history(&self, ident: String, limit: Option<i64>, context: &Context) -> Box<Future<Item = GetFileHistoryResponse, Error = ApiError> + Send> {
+ fn get_file_history(&self, ident: String, limit: Option<i64>, context: &Context) -> Box<dyn Future<Item = GetFileHistoryResponse, Error = ApiError> + Send> {
let context = context.clone();
println!(
"get_file_history(\"{}\", {:?}) - X-Span-ID: {:?}",
@@ -527,13 +533,13 @@ impl Api for Server {
Box::new(futures::failed("Generic failure".into()))
}
- fn get_file_redirects(&self, ident: String, context: &Context) -> Box<Future<Item = GetFileRedirectsResponse, Error = ApiError> + Send> {
+ fn get_file_redirects(&self, ident: String, context: &Context) -> Box<dyn Future<Item = GetFileRedirectsResponse, Error = ApiError> + Send> {
let context = context.clone();
println!("get_file_redirects(\"{}\") - X-Span-ID: {:?}", ident, context.x_span_id.unwrap_or(String::from("<none>")).clone());
Box::new(futures::failed("Generic failure".into()))
}
- fn get_file_revision(&self, rev_id: String, expand: Option<String>, hide: Option<String>, context: &Context) -> Box<Future<Item = GetFileRevisionResponse, Error = ApiError> + Send> {
+ fn get_file_revision(&self, rev_id: String, expand: Option<String>, hide: Option<String>, context: &Context) -> Box<dyn Future<Item = GetFileRevisionResponse, Error = ApiError> + Send> {
let context = context.clone();
println!(
"get_file_revision(\"{}\", {:?}, {:?}) - X-Span-ID: {:?}",
@@ -553,7 +559,7 @@ impl Api for Server {
expand: Option<String>,
hide: Option<String>,
context: &Context,
- ) -> Box<Future<Item = LookupFileResponse, Error = ApiError> + Send> {
+ ) -> Box<dyn Future<Item = LookupFileResponse, Error = ApiError> + Send> {
let context = context.clone();
println!(
"lookup_file({:?}, {:?}, {:?}, {:?}, {:?}) - X-Span-ID: {:?}",
@@ -567,7 +573,7 @@ impl Api for Server {
Box::new(futures::failed("Generic failure".into()))
}
- fn update_file(&self, editgroup_id: String, ident: String, entity: models::FileEntity, context: &Context) -> Box<Future<Item = UpdateFileResponse, Error = ApiError> + Send> {
+ fn update_file(&self, editgroup_id: String, ident: String, entity: models::FileEntity, context: &Context) -> Box<dyn Future<Item = UpdateFileResponse, Error = ApiError> + Send> {
let context = context.clone();
println!(
"update_file(\"{}\", \"{}\", {:?}) - X-Span-ID: {:?}",
@@ -579,7 +585,7 @@ impl Api for Server {
Box::new(futures::failed("Generic failure".into()))
}
- fn create_fileset(&self, editgroup_id: String, entity: models::FilesetEntity, context: &Context) -> Box<Future<Item = CreateFilesetResponse, Error = ApiError> + Send> {
+ fn create_fileset(&self, editgroup_id: String, entity: models::FilesetEntity, context: &Context) -> Box<dyn Future<Item = CreateFilesetResponse, Error = ApiError> + Send> {
let context = context.clone();
println!(
"create_fileset(\"{}\", {:?}) - X-Span-ID: {:?}",
@@ -590,7 +596,7 @@ impl Api for Server {
Box::new(futures::failed("Generic failure".into()))
}
- fn create_fileset_auto_batch(&self, auto_batch: models::FilesetAutoBatch, context: &Context) -> Box<Future<Item = CreateFilesetAutoBatchResponse, Error = ApiError> + Send> {
+ fn create_fileset_auto_batch(&self, auto_batch: models::FilesetAutoBatch, context: &Context) -> Box<dyn Future<Item = CreateFilesetAutoBatchResponse, Error = ApiError> + Send> {
let context = context.clone();
println!(
"create_fileset_auto_batch({:?}) - X-Span-ID: {:?}",
@@ -600,7 +606,7 @@ impl Api for Server {
Box::new(futures::failed("Generic failure".into()))
}
- fn delete_fileset(&self, editgroup_id: String, ident: String, context: &Context) -> Box<Future<Item = DeleteFilesetResponse, Error = ApiError> + Send> {
+ fn delete_fileset(&self, editgroup_id: String, ident: String, context: &Context) -> Box<dyn Future<Item = DeleteFilesetResponse, Error = ApiError> + Send> {
let context = context.clone();
println!(
"delete_fileset(\"{}\", \"{}\") - X-Span-ID: {:?}",
@@ -611,7 +617,7 @@ impl Api for Server {
Box::new(futures::failed("Generic failure".into()))
}
- fn delete_fileset_edit(&self, editgroup_id: String, edit_id: String, context: &Context) -> Box<Future<Item = DeleteFilesetEditResponse, Error = ApiError> + Send> {
+ fn delete_fileset_edit(&self, editgroup_id: String, edit_id: String, context: &Context) -> Box<dyn Future<Item = DeleteFilesetEditResponse, Error = ApiError> + Send> {
let context = context.clone();
println!(
"delete_fileset_edit(\"{}\", \"{}\") - X-Span-ID: {:?}",
@@ -622,7 +628,7 @@ impl Api for Server {
Box::new(futures::failed("Generic failure".into()))
}
- fn get_fileset(&self, ident: String, expand: Option<String>, hide: Option<String>, context: &Context) -> Box<Future<Item = GetFilesetResponse, Error = ApiError> + Send> {
+ fn get_fileset(&self, ident: String, expand: Option<String>, hide: Option<String>, context: &Context) -> Box<dyn Future<Item = GetFilesetResponse, Error = ApiError> + Send> {
let context = context.clone();
println!(
"get_fileset(\"{}\", {:?}, {:?}) - X-Span-ID: {:?}",
@@ -634,13 +640,13 @@ impl Api for Server {
Box::new(futures::failed("Generic failure".into()))
}
- fn get_fileset_edit(&self, edit_id: String, context: &Context) -> Box<Future<Item = GetFilesetEditResponse, Error = ApiError> + Send> {
+ fn get_fileset_edit(&self, edit_id: String, context: &Context) -> Box<dyn Future<Item = GetFilesetEditResponse, Error = ApiError> + Send> {
let context = context.clone();
println!("get_fileset_edit(\"{}\") - X-Span-ID: {:?}", edit_id, context.x_span_id.unwrap_or(String::from("<none>")).clone());
Box::new(futures::failed("Generic failure".into()))
}
- fn get_fileset_history(&self, ident: String, limit: Option<i64>, context: &Context) -> Box<Future<Item = GetFilesetHistoryResponse, Error = ApiError> + Send> {
+ fn get_fileset_history(&self, ident: String, limit: Option<i64>, context: &Context) -> Box<dyn Future<Item = GetFilesetHistoryResponse, Error = ApiError> + Send> {
let context = context.clone();
println!(
"get_fileset_history(\"{}\", {:?}) - X-Span-ID: {:?}",
@@ -651,13 +657,13 @@ impl Api for Server {
Box::new(futures::failed("Generic failure".into()))
}
- fn get_fileset_redirects(&self, ident: String, context: &Context) -> Box<Future<Item = GetFilesetRedirectsResponse, Error = ApiError> + Send> {
+ fn get_fileset_redirects(&self, ident: String, context: &Context) -> Box<dyn Future<Item = GetFilesetRedirectsResponse, Error = ApiError> + Send> {
let context = context.clone();
println!("get_fileset_redirects(\"{}\") - X-Span-ID: {:?}", ident, context.x_span_id.unwrap_or(String::from("<none>")).clone());
Box::new(futures::failed("Generic failure".into()))
}
- fn get_fileset_revision(&self, rev_id: String, expand: Option<String>, hide: Option<String>, context: &Context) -> Box<Future<Item = GetFilesetRevisionResponse, Error = ApiError> + Send> {
+ fn get_fileset_revision(&self, rev_id: String, expand: Option<String>, hide: Option<String>, context: &Context) -> Box<dyn Future<Item = GetFilesetRevisionResponse, Error = ApiError> + Send> {
let context = context.clone();
println!(
"get_fileset_revision(\"{}\", {:?}, {:?}) - X-Span-ID: {:?}",
@@ -669,7 +675,7 @@ impl Api for Server {
Box::new(futures::failed("Generic failure".into()))
}
- fn update_fileset(&self, editgroup_id: String, ident: String, entity: models::FilesetEntity, context: &Context) -> Box<Future<Item = UpdateFilesetResponse, Error = ApiError> + Send> {
+ fn update_fileset(&self, editgroup_id: String, ident: String, entity: models::FilesetEntity, context: &Context) -> Box<dyn Future<Item = UpdateFilesetResponse, Error = ApiError> + Send> {
let context = context.clone();
println!(
"update_fileset(\"{}\", \"{}\", {:?}) - X-Span-ID: {:?}",
@@ -681,7 +687,7 @@ impl Api for Server {
Box::new(futures::failed("Generic failure".into()))
}
- fn create_release(&self, editgroup_id: String, entity: models::ReleaseEntity, context: &Context) -> Box<Future<Item = CreateReleaseResponse, Error = ApiError> + Send> {
+ fn create_release(&self, editgroup_id: String, entity: models::ReleaseEntity, context: &Context) -> Box<dyn Future<Item = CreateReleaseResponse, Error = ApiError> + Send> {
let context = context.clone();
println!(
"create_release(\"{}\", {:?}) - X-Span-ID: {:?}",
@@ -692,7 +698,7 @@ impl Api for Server {
Box::new(futures::failed("Generic failure".into()))
}
- fn create_release_auto_batch(&self, auto_batch: models::ReleaseAutoBatch, context: &Context) -> Box<Future<Item = CreateReleaseAutoBatchResponse, Error = ApiError> + Send> {
+ fn create_release_auto_batch(&self, auto_batch: models::ReleaseAutoBatch, context: &Context) -> Box<dyn Future<Item = CreateReleaseAutoBatchResponse, Error = ApiError> + Send> {
let context = context.clone();
println!(
"create_release_auto_batch({:?}) - X-Span-ID: {:?}",
@@ -702,7 +708,7 @@ impl Api for Server {
Box::new(futures::failed("Generic failure".into()))
}
- fn delete_release(&self, editgroup_id: String, ident: String, context: &Context) -> Box<Future<Item = DeleteReleaseResponse, Error = ApiError> + Send> {
+ fn delete_release(&self, editgroup_id: String, ident: String, context: &Context) -> Box<dyn Future<Item = DeleteReleaseResponse, Error = ApiError> + Send> {
let context = context.clone();
println!(
"delete_release(\"{}\", \"{}\") - X-Span-ID: {:?}",
@@ -713,7 +719,7 @@ impl Api for Server {
Box::new(futures::failed("Generic failure".into()))
}
- fn delete_release_edit(&self, editgroup_id: String, edit_id: String, context: &Context) -> Box<Future<Item = DeleteReleaseEditResponse, Error = ApiError> + Send> {
+ fn delete_release_edit(&self, editgroup_id: String, edit_id: String, context: &Context) -> Box<dyn Future<Item = DeleteReleaseEditResponse, Error = ApiError> + Send> {
let context = context.clone();
println!(
"delete_release_edit(\"{}\", \"{}\") - X-Span-ID: {:?}",
@@ -724,7 +730,7 @@ impl Api for Server {
Box::new(futures::failed("Generic failure".into()))
}
- fn get_release(&self, ident: String, expand: Option<String>, hide: Option<String>, context: &Context) -> Box<Future<Item = GetReleaseResponse, Error = ApiError> + Send> {
+ fn get_release(&self, ident: String, expand: Option<String>, hide: Option<String>, context: &Context) -> Box<dyn Future<Item = GetReleaseResponse, Error = ApiError> + Send> {
let context = context.clone();
println!(
"get_release(\"{}\", {:?}, {:?}) - X-Span-ID: {:?}",
@@ -736,13 +742,13 @@ impl Api for Server {
Box::new(futures::failed("Generic failure".into()))
}
- fn get_release_edit(&self, edit_id: String, context: &Context) -> Box<Future<Item = GetReleaseEditResponse, Error = ApiError> + Send> {
+ fn get_release_edit(&self, edit_id: String, context: &Context) -> Box<dyn Future<Item = GetReleaseEditResponse, Error = ApiError> + Send> {
let context = context.clone();
println!("get_release_edit(\"{}\") - X-Span-ID: {:?}", edit_id, context.x_span_id.unwrap_or(String::from("<none>")).clone());
Box::new(futures::failed("Generic failure".into()))
}
- fn get_release_files(&self, ident: String, hide: Option<String>, context: &Context) -> Box<Future<Item = GetReleaseFilesResponse, Error = ApiError> + Send> {
+ fn get_release_files(&self, ident: String, hide: Option<String>, context: &Context) -> Box<dyn Future<Item = GetReleaseFilesResponse, Error = ApiError> + Send> {
let context = context.clone();
println!(
"get_release_files(\"{}\", {:?}) - X-Span-ID: {:?}",
@@ -753,7 +759,7 @@ impl Api for Server {
Box::new(futures::failed("Generic failure".into()))
}
- fn get_release_filesets(&self, ident: String, hide: Option<String>, context: &Context) -> Box<Future<Item = GetReleaseFilesetsResponse, Error = ApiError> + Send> {
+ fn get_release_filesets(&self, ident: String, hide: Option<String>, context: &Context) -> Box<dyn Future<Item = GetReleaseFilesetsResponse, Error = ApiError> + Send> {
let context = context.clone();
println!(
"get_release_filesets(\"{}\", {:?}) - X-Span-ID: {:?}",
@@ -764,7 +770,7 @@ impl Api for Server {
Box::new(futures::failed("Generic failure".into()))
}
- fn get_release_history(&self, ident: String, limit: Option<i64>, context: &Context) -> Box<Future<Item = GetReleaseHistoryResponse, Error = ApiError> + Send> {
+ fn get_release_history(&self, ident: String, limit: Option<i64>, context: &Context) -> Box<dyn Future<Item = GetReleaseHistoryResponse, Error = ApiError> + Send> {
let context = context.clone();
println!(
"get_release_history(\"{}\", {:?}) - X-Span-ID: {:?}",
@@ -775,13 +781,13 @@ impl Api for Server {
Box::new(futures::failed("Generic failure".into()))
}
- fn get_release_redirects(&self, ident: String, context: &Context) -> Box<Future<Item = GetReleaseRedirectsResponse, Error = ApiError> + Send> {
+ fn get_release_redirects(&self, ident: String, context: &Context) -> Box<dyn Future<Item = GetReleaseRedirectsResponse, Error = ApiError> + Send> {
let context = context.clone();
println!("get_release_redirects(\"{}\") - X-Span-ID: {:?}", ident, context.x_span_id.unwrap_or(String::from("<none>")).clone());
Box::new(futures::failed("Generic failure".into()))
}
- fn get_release_revision(&self, rev_id: String, expand: Option<String>, hide: Option<String>, context: &Context) -> Box<Future<Item = GetReleaseRevisionResponse, Error = ApiError> + Send> {
+ fn get_release_revision(&self, rev_id: String, expand: Option<String>, hide: Option<String>, context: &Context) -> Box<dyn Future<Item = GetReleaseRevisionResponse, Error = ApiError> + Send> {
let context = context.clone();
println!(
"get_release_revision(\"{}\", {:?}, {:?}) - X-Span-ID: {:?}",
@@ -793,7 +799,7 @@ impl Api for Server {
Box::new(futures::failed("Generic failure".into()))
}
- fn get_release_webcaptures(&self, ident: String, hide: Option<String>, context: &Context) -> Box<Future<Item = GetReleaseWebcapturesResponse, Error = ApiError> + Send> {
+ fn get_release_webcaptures(&self, ident: String, hide: Option<String>, context: &Context) -> Box<dyn Future<Item = GetReleaseWebcapturesResponse, Error = ApiError> + Send> {
let context = context.clone();
println!(
"get_release_webcaptures(\"{}\", {:?}) - X-Span-ID: {:?}",
@@ -819,7 +825,7 @@ impl Api for Server {
expand: Option<String>,
hide: Option<String>,
context: &Context,
- ) -> Box<Future<Item = LookupReleaseResponse, Error = ApiError> + Send> {
+ ) -> Box<dyn Future<Item = LookupReleaseResponse, Error = ApiError> + Send> {
let context = context.clone();
println!(
"lookup_release({:?}, {:?}, {:?}, {:?}, {:?}, {:?}, {:?}, {:?}, {:?}, {:?}, {:?}, {:?}) - X-Span-ID: {:?}",
@@ -840,7 +846,7 @@ impl Api for Server {
Box::new(futures::failed("Generic failure".into()))
}
- fn update_release(&self, editgroup_id: String, ident: String, entity: models::ReleaseEntity, context: &Context) -> Box<Future<Item = UpdateReleaseResponse, Error = ApiError> + Send> {
+ fn update_release(&self, editgroup_id: String, ident: String, entity: models::ReleaseEntity, context: &Context) -> Box<dyn Future<Item = UpdateReleaseResponse, Error = ApiError> + Send> {
let context = context.clone();
println!(
"update_release(\"{}\", \"{}\", {:?}) - X-Span-ID: {:?}",
@@ -852,7 +858,7 @@ impl Api for Server {
Box::new(futures::failed("Generic failure".into()))
}
- fn create_webcapture(&self, editgroup_id: String, entity: models::WebcaptureEntity, context: &Context) -> Box<Future<Item = CreateWebcaptureResponse, Error = ApiError> + Send> {
+ fn create_webcapture(&self, editgroup_id: String, entity: models::WebcaptureEntity, context: &Context) -> Box<dyn Future<Item = CreateWebcaptureResponse, Error = ApiError> + Send> {
let context = context.clone();
println!(
"create_webcapture(\"{}\", {:?}) - X-Span-ID: {:?}",
@@ -863,7 +869,7 @@ impl Api for Server {
Box::new(futures::failed("Generic failure".into()))
}
- fn create_webcapture_auto_batch(&self, auto_batch: models::WebcaptureAutoBatch, context: &Context) -> Box<Future<Item = CreateWebcaptureAutoBatchResponse, Error = ApiError> + Send> {
+ fn create_webcapture_auto_batch(&self, auto_batch: models::WebcaptureAutoBatch, context: &Context) -> Box<dyn Future<Item = CreateWebcaptureAutoBatchResponse, Error = ApiError> + Send> {
let context = context.clone();
println!(
"create_webcapture_auto_batch({:?}) - X-Span-ID: {:?}",
@@ -873,7 +879,7 @@ impl Api for Server {
Box::new(futures::failed("Generic failure".into()))
}
- fn delete_webcapture(&self, editgroup_id: String, ident: String, context: &Context) -> Box<Future<Item = DeleteWebcaptureResponse, Error = ApiError> + Send> {
+ fn delete_webcapture(&self, editgroup_id: String, ident: String, context: &Context) -> Box<dyn Future<Item = DeleteWebcaptureResponse, Error = ApiError> + Send> {
let context = context.clone();
println!(
"delete_webcapture(\"{}\", \"{}\") - X-Span-ID: {:?}",
@@ -884,7 +890,7 @@ impl Api for Server {
Box::new(futures::failed("Generic failure".into()))
}
- fn delete_webcapture_edit(&self, editgroup_id: String, edit_id: String, context: &Context) -> Box<Future<Item = DeleteWebcaptureEditResponse, Error = ApiError> + Send> {
+ fn delete_webcapture_edit(&self, editgroup_id: String, edit_id: String, context: &Context) -> Box<dyn Future<Item = DeleteWebcaptureEditResponse, Error = ApiError> + Send> {
let context = context.clone();
println!(
"delete_webcapture_edit(\"{}\", \"{}\") - X-Span-ID: {:?}",
@@ -895,7 +901,7 @@ impl Api for Server {
Box::new(futures::failed("Generic failure".into()))
}
- fn get_webcapture(&self, ident: String, expand: Option<String>, hide: Option<String>, context: &Context) -> Box<Future<Item = GetWebcaptureResponse, Error = ApiError> + Send> {
+ fn get_webcapture(&self, ident: String, expand: Option<String>, hide: Option<String>, context: &Context) -> Box<dyn Future<Item = GetWebcaptureResponse, Error = ApiError> + Send> {
let context = context.clone();
println!(
"get_webcapture(\"{}\", {:?}, {:?}) - X-Span-ID: {:?}",
@@ -907,13 +913,13 @@ impl Api for Server {
Box::new(futures::failed("Generic failure".into()))
}
- fn get_webcapture_edit(&self, edit_id: String, context: &Context) -> Box<Future<Item = GetWebcaptureEditResponse, Error = ApiError> + Send> {
+ fn get_webcapture_edit(&self, edit_id: String, context: &Context) -> Box<dyn Future<Item = GetWebcaptureEditResponse, Error = ApiError> + Send> {
let context = context.clone();
println!("get_webcapture_edit(\"{}\") - X-Span-ID: {:?}", edit_id, context.x_span_id.unwrap_or(String::from("<none>")).clone());
Box::new(futures::failed("Generic failure".into()))
}
- fn get_webcapture_history(&self, ident: String, limit: Option<i64>, context: &Context) -> Box<Future<Item = GetWebcaptureHistoryResponse, Error = ApiError> + Send> {
+ fn get_webcapture_history(&self, ident: String, limit: Option<i64>, context: &Context) -> Box<dyn Future<Item = GetWebcaptureHistoryResponse, Error = ApiError> + Send> {
let context = context.clone();
println!(
"get_webcapture_history(\"{}\", {:?}) - X-Span-ID: {:?}",
@@ -924,13 +930,19 @@ impl Api for Server {
Box::new(futures::failed("Generic failure".into()))
}
- fn get_webcapture_redirects(&self, ident: String, context: &Context) -> Box<Future<Item = GetWebcaptureRedirectsResponse, Error = ApiError> + Send> {
+ fn get_webcapture_redirects(&self, ident: String, context: &Context) -> Box<dyn Future<Item = GetWebcaptureRedirectsResponse, Error = ApiError> + Send> {
let context = context.clone();
println!("get_webcapture_redirects(\"{}\") - X-Span-ID: {:?}", ident, context.x_span_id.unwrap_or(String::from("<none>")).clone());
Box::new(futures::failed("Generic failure".into()))
}
- fn get_webcapture_revision(&self, rev_id: String, expand: Option<String>, hide: Option<String>, context: &Context) -> Box<Future<Item = GetWebcaptureRevisionResponse, Error = ApiError> + Send> {
+ fn get_webcapture_revision(
+ &self,
+ rev_id: String,
+ expand: Option<String>,
+ hide: Option<String>,
+ context: &Context,
+ ) -> Box<dyn Future<Item = GetWebcaptureRevisionResponse, Error = ApiError> + Send> {
let context = context.clone();
println!(
"get_webcapture_revision(\"{}\", {:?}, {:?}) - X-Span-ID: {:?}",
@@ -942,7 +954,7 @@ impl Api for Server {
Box::new(futures::failed("Generic failure".into()))
}
- fn update_webcapture(&self, editgroup_id: String, ident: String, entity: models::WebcaptureEntity, context: &Context) -> Box<Future<Item = UpdateWebcaptureResponse, Error = ApiError> + Send> {
+ fn update_webcapture(&self, editgroup_id: String, ident: String, entity: models::WebcaptureEntity, context: &Context) -> Box<dyn Future<Item = UpdateWebcaptureResponse, Error = ApiError> + Send> {
let context = context.clone();
println!(
"update_webcapture(\"{}\", \"{}\", {:?}) - X-Span-ID: {:?}",
@@ -954,7 +966,7 @@ impl Api for Server {
Box::new(futures::failed("Generic failure".into()))
}
- fn create_work(&self, editgroup_id: String, entity: models::WorkEntity, context: &Context) -> Box<Future<Item = CreateWorkResponse, Error = ApiError> + Send> {
+ fn create_work(&self, editgroup_id: String, entity: models::WorkEntity, context: &Context) -> Box<dyn Future<Item = CreateWorkResponse, Error = ApiError> + Send> {
let context = context.clone();
println!(
"create_work(\"{}\", {:?}) - X-Span-ID: {:?}",
@@ -965,7 +977,7 @@ impl Api for Server {
Box::new(futures::failed("Generic failure".into()))
}
- fn create_work_auto_batch(&self, auto_batch: models::WorkAutoBatch, context: &Context) -> Box<Future<Item = CreateWorkAutoBatchResponse, Error = ApiError> + Send> {
+ fn create_work_auto_batch(&self, auto_batch: models::WorkAutoBatch, context: &Context) -> Box<dyn Future<Item = CreateWorkAutoBatchResponse, Error = ApiError> + Send> {
let context = context.clone();
println!(
"create_work_auto_batch({:?}) - X-Span-ID: {:?}",
@@ -975,7 +987,7 @@ impl Api for Server {
Box::new(futures::failed("Generic failure".into()))
}
- fn delete_work(&self, editgroup_id: String, ident: String, context: &Context) -> Box<Future<Item = DeleteWorkResponse, Error = ApiError> + Send> {
+ fn delete_work(&self, editgroup_id: String, ident: String, context: &Context) -> Box<dyn Future<Item = DeleteWorkResponse, Error = ApiError> + Send> {
let context = context.clone();
println!(
"delete_work(\"{}\", \"{}\") - X-Span-ID: {:?}",
@@ -986,7 +998,7 @@ impl Api for Server {
Box::new(futures::failed("Generic failure".into()))
}
- fn delete_work_edit(&self, editgroup_id: String, edit_id: String, context: &Context) -> Box<Future<Item = DeleteWorkEditResponse, Error = ApiError> + Send> {
+ fn delete_work_edit(&self, editgroup_id: String, edit_id: String, context: &Context) -> Box<dyn Future<Item = DeleteWorkEditResponse, Error = ApiError> + Send> {
let context = context.clone();
println!(
"delete_work_edit(\"{}\", \"{}\") - X-Span-ID: {:?}",
@@ -997,7 +1009,7 @@ impl Api for Server {
Box::new(futures::failed("Generic failure".into()))
}
- fn get_work(&self, ident: String, expand: Option<String>, hide: Option<String>, context: &Context) -> Box<Future<Item = GetWorkResponse, Error = ApiError> + Send> {
+ fn get_work(&self, ident: String, expand: Option<String>, hide: Option<String>, context: &Context) -> Box<dyn Future<Item = GetWorkResponse, Error = ApiError> + Send> {
let context = context.clone();
println!(
"get_work(\"{}\", {:?}, {:?}) - X-Span-ID: {:?}",
@@ -1009,13 +1021,13 @@ impl Api for Server {
Box::new(futures::failed("Generic failure".into()))
}
- fn get_work_edit(&self, edit_id: String, context: &Context) -> Box<Future<Item = GetWorkEditResponse, Error = ApiError> + Send> {
+ fn get_work_edit(&self, edit_id: String, context: &Context) -> Box<dyn Future<Item = GetWorkEditResponse, Error = ApiError> + Send> {
let context = context.clone();
println!("get_work_edit(\"{}\") - X-Span-ID: {:?}", edit_id, context.x_span_id.unwrap_or(String::from("<none>")).clone());
Box::new(futures::failed("Generic failure".into()))
}
- fn get_work_history(&self, ident: String, limit: Option<i64>, context: &Context) -> Box<Future<Item = GetWorkHistoryResponse, Error = ApiError> + Send> {
+ fn get_work_history(&self, ident: String, limit: Option<i64>, context: &Context) -> Box<dyn Future<Item = GetWorkHistoryResponse, Error = ApiError> + Send> {
let context = context.clone();
println!(
"get_work_history(\"{}\", {:?}) - X-Span-ID: {:?}",
@@ -1026,13 +1038,13 @@ impl Api for Server {
Box::new(futures::failed("Generic failure".into()))
}
- fn get_work_redirects(&self, ident: String, context: &Context) -> Box<Future<Item = GetWorkRedirectsResponse, Error = ApiError> + Send> {
+ fn get_work_redirects(&self, ident: String, context: &Context) -> Box<dyn Future<Item = GetWorkRedirectsResponse, Error = ApiError> + Send> {
let context = context.clone();
println!("get_work_redirects(\"{}\") - X-Span-ID: {:?}", ident, context.x_span_id.unwrap_or(String::from("<none>")).clone());
Box::new(futures::failed("Generic failure".into()))
}
- fn get_work_releases(&self, ident: String, hide: Option<String>, context: &Context) -> Box<Future<Item = GetWorkReleasesResponse, Error = ApiError> + Send> {
+ fn get_work_releases(&self, ident: String, hide: Option<String>, context: &Context) -> Box<dyn Future<Item = GetWorkReleasesResponse, Error = ApiError> + Send> {
let context = context.clone();
println!(
"get_work_releases(\"{}\", {:?}) - X-Span-ID: {:?}",
@@ -1043,7 +1055,7 @@ impl Api for Server {
Box::new(futures::failed("Generic failure".into()))
}
- fn get_work_revision(&self, rev_id: String, expand: Option<String>, hide: Option<String>, context: &Context) -> Box<Future<Item = GetWorkRevisionResponse, Error = ApiError> + Send> {
+ fn get_work_revision(&self, rev_id: String, expand: Option<String>, hide: Option<String>, context: &Context) -> Box<dyn Future<Item = GetWorkRevisionResponse, Error = ApiError> + Send> {
let context = context.clone();
println!(
"get_work_revision(\"{}\", {:?}, {:?}) - X-Span-ID: {:?}",
@@ -1055,7 +1067,7 @@ impl Api for Server {
Box::new(futures::failed("Generic failure".into()))
}
- fn update_work(&self, editgroup_id: String, ident: String, entity: models::WorkEntity, context: &Context) -> Box<Future<Item = UpdateWorkResponse, Error = ApiError> + Send> {
+ fn update_work(&self, editgroup_id: String, ident: String, entity: models::WorkEntity, context: &Context) -> Box<dyn Future<Item = UpdateWorkResponse, Error = ApiError> + Send> {
let context = context.clone();
println!(
"update_work(\"{}\", \"{}\", {:?}) - X-Span-ID: {:?}",
diff --git a/rust/fatcat-openapi/src/client.rs b/rust/fatcat-openapi/src/client.rs
index 461b426c..e1e8130e 100644
--- a/rust/fatcat-openapi/src/client.rs
+++ b/rust/fatcat-openapi/src/client.rs
@@ -22,7 +22,7 @@ use std::path::Path;
use std::str;
use std::sync::Arc;
-use mimetypes;
+use crate::mimetypes;
use serde_json;
@@ -33,8 +33,8 @@ use swagger;
use swagger::{ApiError, Context, XSpanId};
-use models;
-use {
+use crate::models;
+use crate::{
AcceptEditgroupResponse, Api, AuthCheckResponse, AuthOidcResponse, CreateAuthTokenResponse, CreateContainerAutoBatchResponse, CreateContainerResponse, CreateCreatorAutoBatchResponse,
CreateCreatorResponse, CreateEditgroupAnnotationResponse, CreateEditgroupResponse, CreateFileAutoBatchResponse, CreateFileResponse, CreateFilesetAutoBatchResponse, CreateFilesetResponse,
CreateReleaseAutoBatchResponse, CreateReleaseResponse, CreateWebcaptureAutoBatchResponse, CreateWebcaptureResponse, CreateWorkAutoBatchResponse, CreateWorkResponse, DeleteContainerEditResponse,
@@ -73,7 +73,7 @@ fn into_base_path<T: IntoUrl>(input: T, correct_scheme: Option<&'static str>) ->
#[derive(Clone)]
pub struct Client {
base_path: String,
- hyper_client: Arc<Fn() -> hyper::client::Client + Sync + Send>,
+ hyper_client: Arc<dyn Fn() -> hyper::client::Client + Sync + Send>,
}
impl fmt::Debug for Client {
@@ -161,7 +161,7 @@ impl Client {
/// The reason for this function's existence is to support legacy test code, which did mocking at the hyper layer.
/// This is not a recommended way to write new tests. If other reasons are found for using this function, they
/// should be mentioned here.
- pub fn try_new_with_hyper_client<T>(base_path: T, hyper_client: Arc<Fn() -> hyper::client::Client + Sync + Send>) -> Result<Client, ClientInitError>
+ pub fn try_new_with_hyper_client<T>(base_path: T, hyper_client: Arc<dyn Fn() -> hyper::client::Client + Sync + Send>) -> Result<Client, ClientInitError>
where
T: IntoUrl,
{
@@ -173,7 +173,7 @@ impl Client {
}
impl Api for Client {
- fn auth_check(&self, param_role: Option<String>, context: &Context) -> Box<Future<Item = AuthCheckResponse, Error = ApiError> + Send> {
+ fn auth_check(&self, param_role: Option<String>, context: &Context) -> Box<dyn Future<Item = AuthCheckResponse, Error = ApiError> + Send> {
// Query parameters
let query_role = param_role.map_or_else(String::new, |query| format!("role={role}&", role = query.to_string()));
@@ -251,7 +251,7 @@ impl Api for Client {
Box::new(futures::done(result))
}
- fn auth_oidc(&self, param_oidc_params: models::AuthOidc, context: &Context) -> Box<Future<Item = AuthOidcResponse, Error = ApiError> + Send> {
+ fn auth_oidc(&self, param_oidc_params: models::AuthOidc, context: &Context) -> Box<dyn Future<Item = AuthOidcResponse, Error = ApiError> + Send> {
let url = format!("{}/v0/auth/oidc", self.base_path);
let body = serde_json::to_string(&param_oidc_params).expect("impossible to fail to serialize");
@@ -345,7 +345,7 @@ impl Api for Client {
Box::new(futures::done(result))
}
- fn create_auth_token(&self, param_editor_id: String, param_duration_seconds: Option<i32>, context: &Context) -> Box<Future<Item = CreateAuthTokenResponse, Error = ApiError> + Send> {
+ fn create_auth_token(&self, param_editor_id: String, param_duration_seconds: Option<i32>, context: &Context) -> Box<dyn Future<Item = CreateAuthTokenResponse, Error = ApiError> + Send> {
// Query parameters
let query_duration_seconds = param_duration_seconds.map_or_else(String::new, |query| format!("duration_seconds={duration_seconds}&", duration_seconds = query.to_string()));
@@ -428,7 +428,7 @@ impl Api for Client {
Box::new(futures::done(result))
}
- fn get_changelog(&self, param_limit: Option<i64>, context: &Context) -> Box<Future<Item = GetChangelogResponse, Error = ApiError> + Send> {
+ fn get_changelog(&self, param_limit: Option<i64>, context: &Context) -> Box<dyn Future<Item = GetChangelogResponse, Error = ApiError> + Send> {
// Query parameters
let query_limit = param_limit.map_or_else(String::new, |query| format!("limit={limit}&", limit = query.to_string()));
@@ -484,7 +484,7 @@ impl Api for Client {
Box::new(futures::done(result))
}
- fn get_changelog_entry(&self, param_index: i64, context: &Context) -> Box<Future<Item = GetChangelogEntryResponse, Error = ApiError> + Send> {
+ fn get_changelog_entry(&self, param_index: i64, context: &Context) -> Box<dyn Future<Item = GetChangelogEntryResponse, Error = ApiError> + Send> {
let url = format!(
"{}/v0/changelog/{index}",
self.base_path,
@@ -548,7 +548,7 @@ impl Api for Client {
Box::new(futures::done(result))
}
- fn create_container(&self, param_editgroup_id: String, param_entity: models::ContainerEntity, context: &Context) -> Box<Future<Item = CreateContainerResponse, Error = ApiError> + Send> {
+ fn create_container(&self, param_editgroup_id: String, param_entity: models::ContainerEntity, context: &Context) -> Box<dyn Future<Item = CreateContainerResponse, Error = ApiError> + Send> {
let url = format!(
"{}/v0/editgroup/{editgroup_id}/container",
self.base_path,
@@ -639,7 +639,7 @@ impl Api for Client {
Box::new(futures::done(result))
}
- fn create_container_auto_batch(&self, param_auto_batch: models::ContainerAutoBatch, context: &Context) -> Box<Future<Item = CreateContainerAutoBatchResponse, Error = ApiError> + Send> {
+ fn create_container_auto_batch(&self, param_auto_batch: models::ContainerAutoBatch, context: &Context) -> Box<dyn Future<Item = CreateContainerAutoBatchResponse, Error = ApiError> + Send> {
let url = format!("{}/v0/editgroup/auto/container/batch", self.base_path);
let body = serde_json::to_string(&param_auto_batch).expect("impossible to fail to serialize");
@@ -726,7 +726,7 @@ impl Api for Client {
Box::new(futures::done(result))
}
- fn delete_container(&self, param_editgroup_id: String, param_ident: String, context: &Context) -> Box<Future<Item = DeleteContainerResponse, Error = ApiError> + Send> {
+ fn delete_container(&self, param_editgroup_id: String, param_ident: String, context: &Context) -> Box<dyn Future<Item = DeleteContainerResponse, Error = ApiError> + Send> {
let url = format!(
"{}/v0/editgroup/{editgroup_id}/container/{ident}",
self.base_path,
@@ -813,7 +813,7 @@ impl Api for Client {
Box::new(futures::done(result))
}
- fn delete_container_edit(&self, param_editgroup_id: String, param_edit_id: String, context: &Context) -> Box<Future<Item = DeleteContainerEditResponse, Error = ApiError> + Send> {
+ fn delete_container_edit(&self, param_editgroup_id: String, param_edit_id: String, context: &Context) -> Box<dyn Future<Item = DeleteContainerEditResponse, Error = ApiError> + Send> {
let url = format!(
"{}/v0/editgroup/{editgroup_id}/container/edit/{edit_id}",
self.base_path,
@@ -900,7 +900,7 @@ impl Api for Client {
Box::new(futures::done(result))
}
- fn get_container(&self, param_ident: String, param_expand: Option<String>, param_hide: Option<String>, context: &Context) -> Box<Future<Item = GetContainerResponse, Error = ApiError> + Send> {
+ fn get_container(&self, param_ident: String, param_expand: Option<String>, param_hide: Option<String>, context: &Context) -> Box<dyn Future<Item = GetContainerResponse, Error = ApiError> + Send> {
// Query parameters
let query_expand = param_expand.map_or_else(String::new, |query| format!("expand={expand}&", expand = query.to_string()));
let query_hide = param_hide.map_or_else(String::new, |query| format!("hide={hide}&", hide = query.to_string()));
@@ -970,7 +970,7 @@ impl Api for Client {
Box::new(futures::done(result))
}
- fn get_container_edit(&self, param_edit_id: String, context: &Context) -> Box<Future<Item = GetContainerEditResponse, Error = ApiError> + Send> {
+ fn get_container_edit(&self, param_edit_id: String, context: &Context) -> Box<dyn Future<Item = GetContainerEditResponse, Error = ApiError> + Send> {
let url = format!(
"{}/v0/container/edit/{edit_id}",
self.base_path,
@@ -1034,7 +1034,7 @@ impl Api for Client {
Box::new(futures::done(result))
}
- fn get_container_history(&self, param_ident: String, param_limit: Option<i64>, context: &Context) -> Box<Future<Item = GetContainerHistoryResponse, Error = ApiError> + Send> {
+ fn get_container_history(&self, param_ident: String, param_limit: Option<i64>, context: &Context) -> Box<dyn Future<Item = GetContainerHistoryResponse, Error = ApiError> + Send> {
// Query parameters
let query_limit = param_limit.map_or_else(String::new, |query| format!("limit={limit}&", limit = query.to_string()));
@@ -1102,7 +1102,7 @@ impl Api for Client {
Box::new(futures::done(result))
}
- fn get_container_redirects(&self, param_ident: String, context: &Context) -> Box<Future<Item = GetContainerRedirectsResponse, Error = ApiError> + Send> {
+ fn get_container_redirects(&self, param_ident: String, context: &Context) -> Box<dyn Future<Item = GetContainerRedirectsResponse, Error = ApiError> + Send> {
let url = format!(
"{}/v0/container/{ident}/redirects",
self.base_path,
@@ -1172,7 +1172,7 @@ impl Api for Client {
param_expand: Option<String>,
param_hide: Option<String>,
context: &Context,
- ) -> Box<Future<Item = GetContainerRevisionResponse, Error = ApiError> + Send> {
+ ) -> Box<dyn Future<Item = GetContainerRevisionResponse, Error = ApiError> + Send> {
// Query parameters
let query_expand = param_expand.map_or_else(String::new, |query| format!("expand={expand}&", expand = query.to_string()));
let query_hide = param_hide.map_or_else(String::new, |query| format!("hide={hide}&", hide = query.to_string()));
@@ -1249,7 +1249,7 @@ impl Api for Client {
param_expand: Option<String>,
param_hide: Option<String>,
context: &Context,
- ) -> Box<Future<Item = LookupContainerResponse, Error = ApiError> + Send> {
+ ) -> Box<dyn Future<Item = LookupContainerResponse, Error = ApiError> + Send> {
// Query parameters
let query_issnl = param_issnl.map_or_else(String::new, |query| format!("issnl={issnl}&", issnl = query.to_string()));
let query_wikidata_qid = param_wikidata_qid.map_or_else(String::new, |query| format!("wikidata_qid={wikidata_qid}&", wikidata_qid = query.to_string()));
@@ -1328,7 +1328,7 @@ impl Api for Client {
param_ident: String,
param_entity: models::ContainerEntity,
context: &Context,
- ) -> Box<Future<Item = UpdateContainerResponse, Error = ApiError> + Send> {
+ ) -> Box<dyn Future<Item = UpdateContainerResponse, Error = ApiError> + Send> {
let url = format!(
"{}/v0/editgroup/{editgroup_id}/container/{ident}",
self.base_path,
@@ -1420,7 +1420,7 @@ impl Api for Client {
Box::new(futures::done(result))
}
- fn create_creator(&self, param_editgroup_id: String, param_entity: models::CreatorEntity, context: &Context) -> Box<Future<Item = CreateCreatorResponse, Error = ApiError> + Send> {
+ fn create_creator(&self, param_editgroup_id: String, param_entity: models::CreatorEntity, context: &Context) -> Box<dyn Future<Item = CreateCreatorResponse, Error = ApiError> + Send> {
let url = format!(
"{}/v0/editgroup/{editgroup_id}/creator",
self.base_path,
@@ -1511,7 +1511,7 @@ impl Api for Client {
Box::new(futures::done(result))
}
- fn create_creator_auto_batch(&self, param_auto_batch: models::CreatorAutoBatch, context: &Context) -> Box<Future<Item = CreateCreatorAutoBatchResponse, Error = ApiError> + Send> {
+ fn create_creator_auto_batch(&self, param_auto_batch: models::CreatorAutoBatch, context: &Context) -> Box<dyn Future<Item = CreateCreatorAutoBatchResponse, Error = ApiError> + Send> {
let url = format!("{}/v0/editgroup/auto/creator/batch", self.base_path);
let body = serde_json::to_string(&param_auto_batch).expect("impossible to fail to serialize");
@@ -1598,7 +1598,7 @@ impl Api for Client {
Box::new(futures::done(result))
}
- fn delete_creator(&self, param_editgroup_id: String, param_ident: String, context: &Context) -> Box<Future<Item = DeleteCreatorResponse, Error = ApiError> + Send> {
+ fn delete_creator(&self, param_editgroup_id: String, param_ident: String, context: &Context) -> Box<dyn Future<Item = DeleteCreatorResponse, Error = ApiError> + Send> {
let url = format!(
"{}/v0/editgroup/{editgroup_id}/creator/{ident}",
self.base_path,
@@ -1685,7 +1685,7 @@ impl Api for Client {
Box::new(futures::done(result))
}
- fn delete_creator_edit(&self, param_editgroup_id: String, param_edit_id: String, context: &Context) -> Box<Future<Item = DeleteCreatorEditResponse, Error = ApiError> + Send> {
+ fn delete_creator_edit(&self, param_editgroup_id: String, param_edit_id: String, context: &Context) -> Box<dyn Future<Item = DeleteCreatorEditResponse, Error = ApiError> + Send> {
let url = format!(
"{}/v0/editgroup/{editgroup_id}/creator/edit/{edit_id}",
self.base_path,
@@ -1772,7 +1772,7 @@ impl Api for Client {
Box::new(futures::done(result))
}
- fn get_creator(&self, param_ident: String, param_expand: Option<String>, param_hide: Option<String>, context: &Context) -> Box<Future<Item = GetCreatorResponse, Error = ApiError> + Send> {
+ fn get_creator(&self, param_ident: String, param_expand: Option<String>, param_hide: Option<String>, context: &Context) -> Box<dyn Future<Item = GetCreatorResponse, Error = ApiError> + Send> {
// Query parameters
let query_expand = param_expand.map_or_else(String::new, |query| format!("expand={expand}&", expand = query.to_string()));
let query_hide = param_hide.map_or_else(String::new, |query| format!("hide={hide}&", hide = query.to_string()));
@@ -1842,7 +1842,7 @@ impl Api for Client {
Box::new(futures::done(result))
}
- fn get_creator_edit(&self, param_edit_id: String, context: &Context) -> Box<Future<Item = GetCreatorEditResponse, Error = ApiError> + Send> {
+ fn get_creator_edit(&self, param_edit_id: String, context: &Context) -> Box<dyn Future<Item = GetCreatorEditResponse, Error = ApiError> + Send> {
let url = format!(
"{}/v0/creator/edit/{edit_id}",
self.base_path,
@@ -1906,7 +1906,7 @@ impl Api for Client {
Box::new(futures::done(result))
}
- fn get_creator_history(&self, param_ident: String, param_limit: Option<i64>, context: &Context) -> Box<Future<Item = GetCreatorHistoryResponse, Error = ApiError> + Send> {
+ fn get_creator_history(&self, param_ident: String, param_limit: Option<i64>, context: &Context) -> Box<dyn Future<Item = GetCreatorHistoryResponse, Error = ApiError> + Send> {
// Query parameters
let query_limit = param_limit.map_or_else(String::new, |query| format!("limit={limit}&", limit = query.to_string()));
@@ -1974,7 +1974,7 @@ impl Api for Client {
Box::new(futures::done(result))
}
- fn get_creator_redirects(&self, param_ident: String, context: &Context) -> Box<Future<Item = GetCreatorRedirectsResponse, Error = ApiError> + Send> {
+ fn get_creator_redirects(&self, param_ident: String, context: &Context) -> Box<dyn Future<Item = GetCreatorRedirectsResponse, Error = ApiError> + Send> {
let url = format!(
"{}/v0/creator/{ident}/redirects",
self.base_path,
@@ -2038,7 +2038,7 @@ impl Api for Client {
Box::new(futures::done(result))
}
- fn get_creator_releases(&self, param_ident: String, param_hide: Option<String>, context: &Context) -> Box<Future<Item = GetCreatorReleasesResponse, Error = ApiError> + Send> {
+ fn get_creator_releases(&self, param_ident: String, param_hide: Option<String>, context: &Context) -> Box<dyn Future<Item = GetCreatorReleasesResponse, Error = ApiError> + Send> {
// Query parameters
let query_hide = param_hide.map_or_else(String::new, |query| format!("hide={hide}&", hide = query.to_string()));
@@ -2112,7 +2112,7 @@ impl Api for Client {
param_expand: Option<String>,
param_hide: Option<String>,
context: &Context,
- ) -> Box<Future<Item = GetCreatorRevisionResponse, Error = ApiError> + Send> {
+ ) -> Box<dyn Future<Item = GetCreatorRevisionResponse, Error = ApiError> + Send> {
// Query parameters
let query_expand = param_expand.map_or_else(String::new, |query| format!("expand={expand}&", expand = query.to_string()));
let query_hide = param_hide.map_or_else(String::new, |query| format!("hide={hide}&", hide = query.to_string()));
@@ -2189,7 +2189,7 @@ impl Api for Client {
param_expand: Option<String>,
param_hide: Option<String>,
context: &Context,
- ) -> Box<Future<Item = LookupCreatorResponse, Error = ApiError> + Send> {
+ ) -> Box<dyn Future<Item = LookupCreatorResponse, Error = ApiError> + Send> {
// Query parameters
let query_orcid = param_orcid.map_or_else(String::new, |query| format!("orcid={orcid}&", orcid = query.to_string()));
let query_wikidata_qid = param_wikidata_qid.map_or_else(String::new, |query| format!("wikidata_qid={wikidata_qid}&", wikidata_qid = query.to_string()));
@@ -2268,7 +2268,7 @@ impl Api for Client {
param_ident: String,
param_entity: models::CreatorEntity,
context: &Context,
- ) -> Box<Future<Item = UpdateCreatorResponse, Error = ApiError> + Send> {
+ ) -> Box<dyn Future<Item = UpdateCreatorResponse, Error = ApiError> + Send> {
let url = format!(
"{}/v0/editgroup/{editgroup_id}/creator/{ident}",
self.base_path,
@@ -2360,7 +2360,7 @@ impl Api for Client {
Box::new(futures::done(result))
}
- fn accept_editgroup(&self, param_editgroup_id: String, context: &Context) -> Box<Future<Item = AcceptEditgroupResponse, Error = ApiError> + Send> {
+ fn accept_editgroup(&self, param_editgroup_id: String, context: &Context) -> Box<dyn Future<Item = AcceptEditgroupResponse, Error = ApiError> + Send> {
let url = format!(
"{}/v0/editgroup/{editgroup_id}/accept",
self.base_path,
@@ -2453,7 +2453,7 @@ impl Api for Client {
Box::new(futures::done(result))
}
- fn create_editgroup(&self, param_editgroup: models::Editgroup, context: &Context) -> Box<Future<Item = CreateEditgroupResponse, Error = ApiError> + Send> {
+ fn create_editgroup(&self, param_editgroup: models::Editgroup, context: &Context) -> Box<dyn Future<Item = CreateEditgroupResponse, Error = ApiError> + Send> {
let url = format!("{}/v0/editgroup", self.base_path);
let body = serde_json::to_string(&param_editgroup).expect("impossible to fail to serialize");
@@ -2545,7 +2545,7 @@ impl Api for Client {
param_editgroup_id: String,
param_annotation: models::EditgroupAnnotation,
context: &Context,
- ) -> Box<Future<Item = CreateEditgroupAnnotationResponse, Error = ApiError> + Send> {
+ ) -> Box<dyn Future<Item = CreateEditgroupAnnotationResponse, Error = ApiError> + Send> {
let url = format!(
"{}/v0/editgroup/{editgroup_id}/annotation",
self.base_path,
@@ -2636,7 +2636,7 @@ impl Api for Client {
Box::new(futures::done(result))
}
- fn get_editgroup(&self, param_editgroup_id: String, context: &Context) -> Box<Future<Item = GetEditgroupResponse, Error = ApiError> + Send> {
+ fn get_editgroup(&self, param_editgroup_id: String, context: &Context) -> Box<dyn Future<Item = GetEditgroupResponse, Error = ApiError> + Send> {
let url = format!(
"{}/v0/editgroup/{editgroup_id}",
self.base_path,
@@ -2700,7 +2700,12 @@ impl Api for Client {
Box::new(futures::done(result))
}
- fn get_editgroup_annotations(&self, param_editgroup_id: String, param_expand: Option<String>, context: &Context) -> Box<Future<Item = GetEditgroupAnnotationsResponse, Error = ApiError> + Send> {
+ fn get_editgroup_annotations(
+ &self,
+ param_editgroup_id: String,
+ param_expand: Option<String>,
+ context: &Context,
+ ) -> Box<dyn Future<Item = GetEditgroupAnnotationsResponse, Error = ApiError> + Send> {
// Query parameters
let query_expand = param_expand.map_or_else(String::new, |query| format!("expand={expand}&", expand = query.to_string()));
@@ -2797,7 +2802,7 @@ impl Api for Client {
param_before: Option<chrono::DateTime<chrono::Utc>>,
param_since: Option<chrono::DateTime<chrono::Utc>>,
context: &Context,
- ) -> Box<Future<Item = GetEditgroupsReviewableResponse, Error = ApiError> + Send> {
+ ) -> Box<dyn Future<Item = GetEditgroupsReviewableResponse, Error = ApiError> + Send> {
// Query parameters
let query_expand = param_expand.map_or_else(String::new, |query| format!("expand={expand}&", expand = query.to_string()));
let query_limit = param_limit.map_or_else(String::new, |query| format!("limit={limit}&", limit = query.to_string()));
@@ -2876,7 +2881,7 @@ impl Api for Client {
param_editgroup: models::Editgroup,
param_submit: Option<bool>,
context: &Context,
- ) -> Box<Future<Item = UpdateEditgroupResponse, Error = ApiError> + Send> {
+ ) -> Box<dyn Future<Item = UpdateEditgroupResponse, Error = ApiError> + Send> {
// Query parameters
let query_submit = param_submit.map_or_else(String::new, |query| format!("submit={submit}&", submit = query.to_string()));
@@ -2971,7 +2976,7 @@ impl Api for Client {
Box::new(futures::done(result))
}
- fn get_editor(&self, param_editor_id: String, context: &Context) -> Box<Future<Item = GetEditorResponse, Error = ApiError> + Send> {
+ fn get_editor(&self, param_editor_id: String, context: &Context) -> Box<dyn Future<Item = GetEditorResponse, Error = ApiError> + Send> {
let url = format!(
"{}/v0/editor/{editor_id}",
self.base_path,
@@ -3042,7 +3047,7 @@ impl Api for Client {
param_before: Option<chrono::DateTime<chrono::Utc>>,
param_since: Option<chrono::DateTime<chrono::Utc>>,
context: &Context,
- ) -> Box<Future<Item = GetEditorAnnotationsResponse, Error = ApiError> + Send> {
+ ) -> Box<dyn Future<Item = GetEditorAnnotationsResponse, Error = ApiError> + Send> {
// Query parameters
let query_limit = param_limit.map_or_else(String::new, |query| format!("limit={limit}&", limit = query.to_string()));
let query_before = param_before.map_or_else(String::new, |query| format!("before={before}&", before = query.to_string()));
@@ -3143,7 +3148,7 @@ impl Api for Client {
param_before: Option<chrono::DateTime<chrono::Utc>>,
param_since: Option<chrono::DateTime<chrono::Utc>>,
context: &Context,
- ) -> Box<Future<Item = GetEditorEditgroupsResponse, Error = ApiError> + Send> {
+ ) -> Box<dyn Future<Item = GetEditorEditgroupsResponse, Error = ApiError> + Send> {
// Query parameters
let query_limit = param_limit.map_or_else(String::new, |query| format!("limit={limit}&", limit = query.to_string()));
let query_before = param_before.map_or_else(String::new, |query| format!("before={before}&", before = query.to_string()));
@@ -3215,7 +3220,7 @@ impl Api for Client {
Box::new(futures::done(result))
}
- fn update_editor(&self, param_editor_id: String, param_editor: models::Editor, context: &Context) -> Box<Future<Item = UpdateEditorResponse, Error = ApiError> + Send> {
+ fn update_editor(&self, param_editor_id: String, param_editor: models::Editor, context: &Context) -> Box<dyn Future<Item = UpdateEditorResponse, Error = ApiError> + Send> {
let url = format!(
"{}/v0/editor/{editor_id}",
self.base_path,
@@ -3306,7 +3311,7 @@ impl Api for Client {
Box::new(futures::done(result))
}
- fn create_file(&self, param_editgroup_id: String, param_entity: models::FileEntity, context: &Context) -> Box<Future<Item = CreateFileResponse, Error = ApiError> + Send> {
+ fn create_file(&self, param_editgroup_id: String, param_entity: models::FileEntity, context: &Context) -> Box<dyn Future<Item = CreateFileResponse, Error = ApiError> + Send> {
let url = format!(
"{}/v0/editgroup/{editgroup_id}/file",
self.base_path,
@@ -3397,7 +3402,7 @@ impl Api for Client {
Box::new(futures::done(result))
}
- fn create_file_auto_batch(&self, param_auto_batch: models::FileAutoBatch, context: &Context) -> Box<Future<Item = CreateFileAutoBatchResponse, Error = ApiError> + Send> {
+ fn create_file_auto_batch(&self, param_auto_batch: models::FileAutoBatch, context: &Context) -> Box<dyn Future<Item = CreateFileAutoBatchResponse, Error = ApiError> + Send> {
let url = format!("{}/v0/editgroup/auto/file/batch", self.base_path);
let body = serde_json::to_string(&param_auto_batch).expect("impossible to fail to serialize");
@@ -3484,7 +3489,7 @@ impl Api for Client {
Box::new(futures::done(result))
}
- fn delete_file(&self, param_editgroup_id: String, param_ident: String, context: &Context) -> Box<Future<Item = DeleteFileResponse, Error = ApiError> + Send> {
+ fn delete_file(&self, param_editgroup_id: String, param_ident: String, context: &Context) -> Box<dyn Future<Item = DeleteFileResponse, Error = ApiError> + Send> {
let url = format!(
"{}/v0/editgroup/{editgroup_id}/file/{ident}",
self.base_path,
@@ -3571,7 +3576,7 @@ impl Api for Client {
Box::new(futures::done(result))
}
- fn delete_file_edit(&self, param_editgroup_id: String, param_edit_id: String, context: &Context) -> Box<Future<Item = DeleteFileEditResponse, Error = ApiError> + Send> {
+ fn delete_file_edit(&self, param_editgroup_id: String, param_edit_id: String, context: &Context) -> Box<dyn Future<Item = DeleteFileEditResponse, Error = ApiError> + Send> {
let url = format!(
"{}/v0/editgroup/{editgroup_id}/file/edit/{edit_id}",
self.base_path,
@@ -3658,7 +3663,7 @@ impl Api for Client {
Box::new(futures::done(result))
}
- fn get_file(&self, param_ident: String, param_expand: Option<String>, param_hide: Option<String>, context: &Context) -> Box<Future<Item = GetFileResponse, Error = ApiError> + Send> {
+ fn get_file(&self, param_ident: String, param_expand: Option<String>, param_hide: Option<String>, context: &Context) -> Box<dyn Future<Item = GetFileResponse, Error = ApiError> + Send> {
// Query parameters
let query_expand = param_expand.map_or_else(String::new, |query| format!("expand={expand}&", expand = query.to_string()));
let query_hide = param_hide.map_or_else(String::new, |query| format!("hide={hide}&", hide = query.to_string()));
@@ -3728,7 +3733,7 @@ impl Api for Client {
Box::new(futures::done(result))
}
- fn get_file_edit(&self, param_edit_id: String, context: &Context) -> Box<Future<Item = GetFileEditResponse, Error = ApiError> + Send> {
+ fn get_file_edit(&self, param_edit_id: String, context: &Context) -> Box<dyn Future<Item = GetFileEditResponse, Error = ApiError> + Send> {
let url = format!(
"{}/v0/file/edit/{edit_id}",
self.base_path,
@@ -3792,7 +3797,7 @@ impl Api for Client {
Box::new(futures::done(result))
}
- fn get_file_history(&self, param_ident: String, param_limit: Option<i64>, context: &Context) -> Box<Future<Item = GetFileHistoryResponse, Error = ApiError> + Send> {
+ fn get_file_history(&self, param_ident: String, param_limit: Option<i64>, context: &Context) -> Box<dyn Future<Item = GetFileHistoryResponse, Error = ApiError> + Send> {
// Query parameters
let query_limit = param_limit.map_or_else(String::new, |query| format!("limit={limit}&", limit = query.to_string()));
@@ -3860,7 +3865,7 @@ impl Api for Client {
Box::new(futures::done(result))
}
- fn get_file_redirects(&self, param_ident: String, context: &Context) -> Box<Future<Item = GetFileRedirectsResponse, Error = ApiError> + Send> {
+ fn get_file_redirects(&self, param_ident: String, context: &Context) -> Box<dyn Future<Item = GetFileRedirectsResponse, Error = ApiError> + Send> {
let url = format!(
"{}/v0/file/{ident}/redirects",
self.base_path,
@@ -3930,7 +3935,7 @@ impl Api for Client {
param_expand: Option<String>,
param_hide: Option<String>,
context: &Context,
- ) -> Box<Future<Item = GetFileRevisionResponse, Error = ApiError> + Send> {
+ ) -> Box<dyn Future<Item = GetFileRevisionResponse, Error = ApiError> + Send> {
// Query parameters
let query_expand = param_expand.map_or_else(String::new, |query| format!("expand={expand}&", expand = query.to_string()));
let query_hide = param_hide.map_or_else(String::new, |query| format!("hide={hide}&", hide = query.to_string()));
@@ -4008,7 +4013,7 @@ impl Api for Client {
param_expand: Option<String>,
param_hide: Option<String>,
context: &Context,
- ) -> Box<Future<Item = LookupFileResponse, Error = ApiError> + Send> {
+ ) -> Box<dyn Future<Item = LookupFileResponse, Error = ApiError> + Send> {
// Query parameters
let query_md5 = param_md5.map_or_else(String::new, |query| format!("md5={md5}&", md5 = query.to_string()));
let query_sha1 = param_sha1.map_or_else(String::new, |query| format!("sha1={sha1}&", sha1 = query.to_string()));
@@ -4083,7 +4088,7 @@ impl Api for Client {
Box::new(futures::done(result))
}
- fn update_file(&self, param_editgroup_id: String, param_ident: String, param_entity: models::FileEntity, context: &Context) -> Box<Future<Item = UpdateFileResponse, Error = ApiError> + Send> {
+ fn update_file(&self, param_editgroup_id: String, param_ident: String, param_entity: models::FileEntity, context: &Context) -> Box<dyn Future<Item = UpdateFileResponse, Error = ApiError> + Send> {
let url = format!(
"{}/v0/editgroup/{editgroup_id}/file/{ident}",
self.base_path,
@@ -4175,7 +4180,7 @@ impl Api for Client {
Box::new(futures::done(result))
}
- fn create_fileset(&self, param_editgroup_id: String, param_entity: models::FilesetEntity, context: &Context) -> Box<Future<Item = CreateFilesetResponse, Error = ApiError> + Send> {
+ fn create_fileset(&self, param_editgroup_id: String, param_entity: models::FilesetEntity, context: &Context) -> Box<dyn Future<Item = CreateFilesetResponse, Error = ApiError> + Send> {
let url = format!(
"{}/v0/editgroup/{editgroup_id}/fileset",
self.base_path,
@@ -4266,7 +4271,7 @@ impl Api for Client {
Box::new(futures::done(result))
}
- fn create_fileset_auto_batch(&self, param_auto_batch: models::FilesetAutoBatch, context: &Context) -> Box<Future<Item = CreateFilesetAutoBatchResponse, Error = ApiError> + Send> {
+ fn create_fileset_auto_batch(&self, param_auto_batch: models::FilesetAutoBatch, context: &Context) -> Box<dyn Future<Item = CreateFilesetAutoBatchResponse, Error = ApiError> + Send> {
let url = format!("{}/v0/editgroup/auto/fileset/batch", self.base_path);
let body = serde_json::to_string(&param_auto_batch).expect("impossible to fail to serialize");
@@ -4353,7 +4358,7 @@ impl Api for Client {
Box::new(futures::done(result))
}
- fn delete_fileset(&self, param_editgroup_id: String, param_ident: String, context: &Context) -> Box<Future<Item = DeleteFilesetResponse, Error = ApiError> + Send> {
+ fn delete_fileset(&self, param_editgroup_id: String, param_ident: String, context: &Context) -> Box<dyn Future<Item = DeleteFilesetResponse, Error = ApiError> + Send> {
let url = format!(
"{}/v0/editgroup/{editgroup_id}/fileset/{ident}",
self.base_path,
@@ -4440,7 +4445,7 @@ impl Api for Client {
Box::new(futures::done(result))
}
- fn delete_fileset_edit(&self, param_editgroup_id: String, param_edit_id: String, context: &Context) -> Box<Future<Item = DeleteFilesetEditResponse, Error = ApiError> + Send> {
+ fn delete_fileset_edit(&self, param_editgroup_id: String, param_edit_id: String, context: &Context) -> Box<dyn Future<Item = DeleteFilesetEditResponse, Error = ApiError> + Send> {
let url = format!(
"{}/v0/editgroup/{editgroup_id}/fileset/edit/{edit_id}",
self.base_path,
@@ -4527,7 +4532,7 @@ impl Api for Client {
Box::new(futures::done(result))
}
- fn get_fileset(&self, param_ident: String, param_expand: Option<String>, param_hide: Option<String>, context: &Context) -> Box<Future<Item = GetFilesetResponse, Error = ApiError> + Send> {
+ fn get_fileset(&self, param_ident: String, param_expand: Option<String>, param_hide: Option<String>, context: &Context) -> Box<dyn Future<Item = GetFilesetResponse, Error = ApiError> + Send> {
// Query parameters
let query_expand = param_expand.map_or_else(String::new, |query| format!("expand={expand}&", expand = query.to_string()));
let query_hide = param_hide.map_or_else(String::new, |query| format!("hide={hide}&", hide = query.to_string()));
@@ -4597,7 +4602,7 @@ impl Api for Client {
Box::new(futures::done(result))
}
- fn get_fileset_edit(&self, param_edit_id: String, context: &Context) -> Box<Future<Item = GetFilesetEditResponse, Error = ApiError> + Send> {
+ fn get_fileset_edit(&self, param_edit_id: String, context: &Context) -> Box<dyn Future<Item = GetFilesetEditResponse, Error = ApiError> + Send> {
let url = format!(
"{}/v0/fileset/edit/{edit_id}",
self.base_path,
@@ -4661,7 +4666,7 @@ impl Api for Client {
Box::new(futures::done(result))
}
- fn get_fileset_history(&self, param_ident: String, param_limit: Option<i64>, context: &Context) -> Box<Future<Item = GetFilesetHistoryResponse, Error = ApiError> + Send> {
+ fn get_fileset_history(&self, param_ident: String, param_limit: Option<i64>, context: &Context) -> Box<dyn Future<Item = GetFilesetHistoryResponse, Error = ApiError> + Send> {
// Query parameters
let query_limit = param_limit.map_or_else(String::new, |query| format!("limit={limit}&", limit = query.to_string()));
@@ -4729,7 +4734,7 @@ impl Api for Client {
Box::new(futures::done(result))
}
- fn get_fileset_redirects(&self, param_ident: String, context: &Context) -> Box<Future<Item = GetFilesetRedirectsResponse, Error = ApiError> + Send> {
+ fn get_fileset_redirects(&self, param_ident: String, context: &Context) -> Box<dyn Future<Item = GetFilesetRedirectsResponse, Error = ApiError> + Send> {
let url = format!(
"{}/v0/fileset/{ident}/redirects",
self.base_path,
@@ -4799,7 +4804,7 @@ impl Api for Client {
param_expand: Option<String>,
param_hide: Option<String>,
context: &Context,
- ) -> Box<Future<Item = GetFilesetRevisionResponse, Error = ApiError> + Send> {
+ ) -> Box<dyn Future<Item = GetFilesetRevisionResponse, Error = ApiError> + Send> {
// Query parameters
let query_expand = param_expand.map_or_else(String::new, |query| format!("expand={expand}&", expand = query.to_string()));
let query_hide = param_hide.map_or_else(String::new, |query| format!("hide={hide}&", hide = query.to_string()));
@@ -4875,7 +4880,7 @@ impl Api for Client {
param_ident: String,
param_entity: models::FilesetEntity,
context: &Context,
- ) -> Box<Future<Item = UpdateFilesetResponse, Error = ApiError> + Send> {
+ ) -> Box<dyn Future<Item = UpdateFilesetResponse, Error = ApiError> + Send> {
let url = format!(
"{}/v0/editgroup/{editgroup_id}/fileset/{ident}",
self.base_path,
@@ -4967,7 +4972,7 @@ impl Api for Client {
Box::new(futures::done(result))
}
- fn create_release(&self, param_editgroup_id: String, param_entity: models::ReleaseEntity, context: &Context) -> Box<Future<Item = CreateReleaseResponse, Error = ApiError> + Send> {
+ fn create_release(&self, param_editgroup_id: String, param_entity: models::ReleaseEntity, context: &Context) -> Box<dyn Future<Item = CreateReleaseResponse, Error = ApiError> + Send> {
let url = format!(
"{}/v0/editgroup/{editgroup_id}/release",
self.base_path,
@@ -5058,7 +5063,7 @@ impl Api for Client {
Box::new(futures::done(result))
}
- fn create_release_auto_batch(&self, param_auto_batch: models::ReleaseAutoBatch, context: &Context) -> Box<Future<Item = CreateReleaseAutoBatchResponse, Error = ApiError> + Send> {
+ fn create_release_auto_batch(&self, param_auto_batch: models::ReleaseAutoBatch, context: &Context) -> Box<dyn Future<Item = CreateReleaseAutoBatchResponse, Error = ApiError> + Send> {
let url = format!("{}/v0/editgroup/auto/release/batch", self.base_path);
let body = serde_json::to_string(&param_auto_batch).expect("impossible to fail to serialize");
@@ -5145,7 +5150,7 @@ impl Api for Client {
Box::new(futures::done(result))
}
- fn delete_release(&self, param_editgroup_id: String, param_ident: String, context: &Context) -> Box<Future<Item = DeleteReleaseResponse, Error = ApiError> + Send> {
+ fn delete_release(&self, param_editgroup_id: String, param_ident: String, context: &Context) -> Box<dyn Future<Item = DeleteReleaseResponse, Error = ApiError> + Send> {
let url = format!(
"{}/v0/editgroup/{editgroup_id}/release/{ident}",
self.base_path,
@@ -5232,7 +5237,7 @@ impl Api for Client {
Box::new(futures::done(result))
}
- fn delete_release_edit(&self, param_editgroup_id: String, param_edit_id: String, context: &Context) -> Box<Future<Item = DeleteReleaseEditResponse, Error = ApiError> + Send> {
+ fn delete_release_edit(&self, param_editgroup_id: String, param_edit_id: String, context: &Context) -> Box<dyn Future<Item = DeleteReleaseEditResponse, Error = ApiError> + Send> {
let url = format!(
"{}/v0/editgroup/{editgroup_id}/release/edit/{edit_id}",
self.base_path,
@@ -5319,7 +5324,7 @@ impl Api for Client {
Box::new(futures::done(result))
}
- fn get_release(&self, param_ident: String, param_expand: Option<String>, param_hide: Option<String>, context: &Context) -> Box<Future<Item = GetReleaseResponse, Error = ApiError> + Send> {
+ fn get_release(&self, param_ident: String, param_expand: Option<String>, param_hide: Option<String>, context: &Context) -> Box<dyn Future<Item = GetReleaseResponse, Error = ApiError> + Send> {
// Query parameters
let query_expand = param_expand.map_or_else(String::new, |query| format!("expand={expand}&", expand = query.to_string()));
let query_hide = param_hide.map_or_else(String::new, |query| format!("hide={hide}&", hide = query.to_string()));
@@ -5389,7 +5394,7 @@ impl Api for Client {
Box::new(futures::done(result))
}
- fn get_release_edit(&self, param_edit_id: String, context: &Context) -> Box<Future<Item = GetReleaseEditResponse, Error = ApiError> + Send> {
+ fn get_release_edit(&self, param_edit_id: String, context: &Context) -> Box<dyn Future<Item = GetReleaseEditResponse, Error = ApiError> + Send> {
let url = format!(
"{}/v0/release/edit/{edit_id}",
self.base_path,
@@ -5453,7 +5458,7 @@ impl Api for Client {
Box::new(futures::done(result))
}
- fn get_release_files(&self, param_ident: String, param_hide: Option<String>, context: &Context) -> Box<Future<Item = GetReleaseFilesResponse, Error = ApiError> + Send> {
+ fn get_release_files(&self, param_ident: String, param_hide: Option<String>, context: &Context) -> Box<dyn Future<Item = GetReleaseFilesResponse, Error = ApiError> + Send> {
// Query parameters
let query_hide = param_hide.map_or_else(String::new, |query| format!("hide={hide}&", hide = query.to_string()));
@@ -5521,7 +5526,7 @@ impl Api for Client {
Box::new(futures::done(result))
}
- fn get_release_filesets(&self, param_ident: String, param_hide: Option<String>, context: &Context) -> Box<Future<Item = GetReleaseFilesetsResponse, Error = ApiError> + Send> {
+ fn get_release_filesets(&self, param_ident: String, param_hide: Option<String>, context: &Context) -> Box<dyn Future<Item = GetReleaseFilesetsResponse, Error = ApiError> + Send> {
// Query parameters
let query_hide = param_hide.map_or_else(String::new, |query| format!("hide={hide}&", hide = query.to_string()));
@@ -5589,7 +5594,7 @@ impl Api for Client {
Box::new(futures::done(result))
}
- fn get_release_history(&self, param_ident: String, param_limit: Option<i64>, context: &Context) -> Box<Future<Item = GetReleaseHistoryResponse, Error = ApiError> + Send> {
+ fn get_release_history(&self, param_ident: String, param_limit: Option<i64>, context: &Context) -> Box<dyn Future<Item = GetReleaseHistoryResponse, Error = ApiError> + Send> {
// Query parameters
let query_limit = param_limit.map_or_else(String::new, |query| format!("limit={limit}&", limit = query.to_string()));
@@ -5657,7 +5662,7 @@ impl Api for Client {
Box::new(futures::done(result))
}
- fn get_release_redirects(&self, param_ident: String, context: &Context) -> Box<Future<Item = GetReleaseRedirectsResponse, Error = ApiError> + Send> {
+ fn get_release_redirects(&self, param_ident: String, context: &Context) -> Box<dyn Future<Item = GetReleaseRedirectsResponse, Error = ApiError> + Send> {
let url = format!(
"{}/v0/release/{ident}/redirects",
self.base_path,
@@ -5727,7 +5732,7 @@ impl Api for Client {
param_expand: Option<String>,
param_hide: Option<String>,
context: &Context,
- ) -> Box<Future<Item = GetReleaseRevisionResponse, Error = ApiError> + Send> {
+ ) -> Box<dyn Future<Item = GetReleaseRevisionResponse, Error = ApiError> + Send> {
// Query parameters
let query_expand = param_expand.map_or_else(String::new, |query| format!("expand={expand}&", expand = query.to_string()));
let query_hide = param_hide.map_or_else(String::new, |query| format!("hide={hide}&", hide = query.to_string()));
@@ -5797,7 +5802,7 @@ impl Api for Client {
Box::new(futures::done(result))
}
- fn get_release_webcaptures(&self, param_ident: String, param_hide: Option<String>, context: &Context) -> Box<Future<Item = GetReleaseWebcapturesResponse, Error = ApiError> + Send> {
+ fn get_release_webcaptures(&self, param_ident: String, param_hide: Option<String>, context: &Context) -> Box<dyn Future<Item = GetReleaseWebcapturesResponse, Error = ApiError> + Send> {
// Query parameters
let query_hide = param_hide.map_or_else(String::new, |query| format!("hide={hide}&", hide = query.to_string()));
@@ -5880,7 +5885,7 @@ impl Api for Client {
param_expand: Option<String>,
param_hide: Option<String>,
context: &Context,
- ) -> Box<Future<Item = LookupReleaseResponse, Error = ApiError> + Send> {
+ ) -> Box<dyn Future<Item = LookupReleaseResponse, Error = ApiError> + Send> {
// Query parameters
let query_doi = param_doi.map_or_else(String::new, |query| format!("doi={doi}&", doi = query.to_string()));
let query_wikidata_qid = param_wikidata_qid.map_or_else(String::new, |query| format!("wikidata_qid={wikidata_qid}&", wikidata_qid = query.to_string()));
@@ -5975,7 +5980,7 @@ impl Api for Client {
param_ident: String,
param_entity: models::ReleaseEntity,
context: &Context,
- ) -> Box<Future<Item = UpdateReleaseResponse, Error = ApiError> + Send> {
+ ) -> Box<dyn Future<Item = UpdateReleaseResponse, Error = ApiError> + Send> {
let url = format!(
"{}/v0/editgroup/{editgroup_id}/release/{ident}",
self.base_path,
@@ -6067,7 +6072,7 @@ impl Api for Client {
Box::new(futures::done(result))
}
- fn create_webcapture(&self, param_editgroup_id: String, param_entity: models::WebcaptureEntity, context: &Context) -> Box<Future<Item = CreateWebcaptureResponse, Error = ApiError> + Send> {
+ fn create_webcapture(&self, param_editgroup_id: String, param_entity: models::WebcaptureEntity, context: &Context) -> Box<dyn Future<Item = CreateWebcaptureResponse, Error = ApiError> + Send> {
let url = format!(
"{}/v0/editgroup/{editgroup_id}/webcapture",
self.base_path,
@@ -6158,7 +6163,7 @@ impl Api for Client {
Box::new(futures::done(result))
}
- fn create_webcapture_auto_batch(&self, param_auto_batch: models::WebcaptureAutoBatch, context: &Context) -> Box<Future<Item = CreateWebcaptureAutoBatchResponse, Error = ApiError> + Send> {
+ fn create_webcapture_auto_batch(&self, param_auto_batch: models::WebcaptureAutoBatch, context: &Context) -> Box<dyn Future<Item = CreateWebcaptureAutoBatchResponse, Error = ApiError> + Send> {
let url = format!("{}/v0/editgroup/auto/webcapture/batch", self.base_path);
let body = serde_json::to_string(&param_auto_batch).expect("impossible to fail to serialize");
@@ -6245,7 +6250,7 @@ impl Api for Client {
Box::new(futures::done(result))
}
- fn delete_webcapture(&self, param_editgroup_id: String, param_ident: String, context: &Context) -> Box<Future<Item = DeleteWebcaptureResponse, Error = ApiError> + Send> {
+ fn delete_webcapture(&self, param_editgroup_id: String, param_ident: String, context: &Context) -> Box<dyn Future<Item = DeleteWebcaptureResponse, Error = ApiError> + Send> {
let url = format!(
"{}/v0/editgroup/{editgroup_id}/webcapture/{ident}",
self.base_path,
@@ -6332,7 +6337,7 @@ impl Api for Client {
Box::new(futures::done(result))
}
- fn delete_webcapture_edit(&self, param_editgroup_id: String, param_edit_id: String, context: &Context) -> Box<Future<Item = DeleteWebcaptureEditResponse, Error = ApiError> + Send> {
+ fn delete_webcapture_edit(&self, param_editgroup_id: String, param_edit_id: String, context: &Context) -> Box<dyn Future<Item = DeleteWebcaptureEditResponse, Error = ApiError> + Send> {
let url = format!(
"{}/v0/editgroup/{editgroup_id}/webcapture/edit/{edit_id}",
self.base_path,
@@ -6419,7 +6424,13 @@ impl Api for Client {
Box::new(futures::done(result))
}
- fn get_webcapture(&self, param_ident: String, param_expand: Option<String>, param_hide: Option<String>, context: &Context) -> Box<Future<Item = GetWebcaptureResponse, Error = ApiError> + Send> {
+ fn get_webcapture(
+ &self,
+ param_ident: String,
+ param_expand: Option<String>,
+ param_hide: Option<String>,
+ context: &Context,
+ ) -> Box<dyn Future<Item = GetWebcaptureResponse, Error = ApiError> + Send> {
// Query parameters
let query_expand = param_expand.map_or_else(String::new, |query| format!("expand={expand}&", expand = query.to_string()));
let query_hide = param_hide.map_or_else(String::new, |query| format!("hide={hide}&", hide = query.to_string()));
@@ -6489,7 +6500,7 @@ impl Api for Client {
Box::new(futures::done(result))
}
- fn get_webcapture_edit(&self, param_edit_id: String, context: &Context) -> Box<Future<Item = GetWebcaptureEditResponse, Error = ApiError> + Send> {
+ fn get_webcapture_edit(&self, param_edit_id: String, context: &Context) -> Box<dyn Future<Item = GetWebcaptureEditResponse, Error = ApiError> + Send> {
let url = format!(
"{}/v0/webcapture/edit/{edit_id}",
self.base_path,
@@ -6553,7 +6564,7 @@ impl Api for Client {
Box::new(futures::done(result))
}
- fn get_webcapture_history(&self, param_ident: String, param_limit: Option<i64>, context: &Context) -> Box<Future<Item = GetWebcaptureHistoryResponse, Error = ApiError> + Send> {
+ fn get_webcapture_history(&self, param_ident: String, param_limit: Option<i64>, context: &Context) -> Box<dyn Future<Item = GetWebcaptureHistoryResponse, Error = ApiError> + Send> {
// Query parameters
let query_limit = param_limit.map_or_else(String::new, |query| format!("limit={limit}&", limit = query.to_string()));
@@ -6621,7 +6632,7 @@ impl Api for Client {
Box::new(futures::done(result))
}
- fn get_webcapture_redirects(&self, param_ident: String, context: &Context) -> Box<Future<Item = GetWebcaptureRedirectsResponse, Error = ApiError> + Send> {
+ fn get_webcapture_redirects(&self, param_ident: String, context: &Context) -> Box<dyn Future<Item = GetWebcaptureRedirectsResponse, Error = ApiError> + Send> {
let url = format!(
"{}/v0/webcapture/{ident}/redirects",
self.base_path,
@@ -6691,7 +6702,7 @@ impl Api for Client {
param_expand: Option<String>,
param_hide: Option<String>,
context: &Context,
- ) -> Box<Future<Item = GetWebcaptureRevisionResponse, Error = ApiError> + Send> {
+ ) -> Box<dyn Future<Item = GetWebcaptureRevisionResponse, Error = ApiError> + Send> {
// Query parameters
let query_expand = param_expand.map_or_else(String::new, |query| format!("expand={expand}&", expand = query.to_string()));
let query_hide = param_hide.map_or_else(String::new, |query| format!("hide={hide}&", hide = query.to_string()));
@@ -6767,7 +6778,7 @@ impl Api for Client {
param_ident: String,
param_entity: models::WebcaptureEntity,
context: &Context,
- ) -> Box<Future<Item = UpdateWebcaptureResponse, Error = ApiError> + Send> {
+ ) -> Box<dyn Future<Item = UpdateWebcaptureResponse, Error = ApiError> + Send> {
let url = format!(
"{}/v0/editgroup/{editgroup_id}/webcapture/{ident}",
self.base_path,
@@ -6859,7 +6870,7 @@ impl Api for Client {
Box::new(futures::done(result))
}
- fn create_work(&self, param_editgroup_id: String, param_entity: models::WorkEntity, context: &Context) -> Box<Future<Item = CreateWorkResponse, Error = ApiError> + Send> {
+ fn create_work(&self, param_editgroup_id: String, param_entity: models::WorkEntity, context: &Context) -> Box<dyn Future<Item = CreateWorkResponse, Error = ApiError> + Send> {
let url = format!(
"{}/v0/editgroup/{editgroup_id}/work",
self.base_path,
@@ -6950,7 +6961,7 @@ impl Api for Client {
Box::new(futures::done(result))
}
- fn create_work_auto_batch(&self, param_auto_batch: models::WorkAutoBatch, context: &Context) -> Box<Future<Item = CreateWorkAutoBatchResponse, Error = ApiError> + Send> {
+ fn create_work_auto_batch(&self, param_auto_batch: models::WorkAutoBatch, context: &Context) -> Box<dyn Future<Item = CreateWorkAutoBatchResponse, Error = ApiError> + Send> {
let url = format!("{}/v0/editgroup/auto/work/batch", self.base_path);
let body = serde_json::to_string(&param_auto_batch).expect("impossible to fail to serialize");
@@ -7037,7 +7048,7 @@ impl Api for Client {
Box::new(futures::done(result))
}
- fn delete_work(&self, param_editgroup_id: String, param_ident: String, context: &Context) -> Box<Future<Item = DeleteWorkResponse, Error = ApiError> + Send> {
+ fn delete_work(&self, param_editgroup_id: String, param_ident: String, context: &Context) -> Box<dyn Future<Item = DeleteWorkResponse, Error = ApiError> + Send> {
let url = format!(
"{}/v0/editgroup/{editgroup_id}/work/{ident}",
self.base_path,
@@ -7124,7 +7135,7 @@ impl Api for Client {
Box::new(futures::done(result))
}
- fn delete_work_edit(&self, param_editgroup_id: String, param_edit_id: String, context: &Context) -> Box<Future<Item = DeleteWorkEditResponse, Error = ApiError> + Send> {
+ fn delete_work_edit(&self, param_editgroup_id: String, param_edit_id: String, context: &Context) -> Box<dyn Future<Item = DeleteWorkEditResponse, Error = ApiError> + Send> {
let url = format!(
"{}/v0/editgroup/{editgroup_id}/work/edit/{edit_id}",
self.base_path,
@@ -7211,7 +7222,7 @@ impl Api for Client {
Box::new(futures::done(result))
}
- fn get_work(&self, param_ident: String, param_expand: Option<String>, param_hide: Option<String>, context: &Context) -> Box<Future<Item = GetWorkResponse, Error = ApiError> + Send> {
+ fn get_work(&self, param_ident: String, param_expand: Option<String>, param_hide: Option<String>, context: &Context) -> Box<dyn Future<Item = GetWorkResponse, Error = ApiError> + Send> {
// Query parameters
let query_expand = param_expand.map_or_else(String::new, |query| format!("expand={expand}&", expand = query.to_string()));
let query_hide = param_hide.map_or_else(String::new, |query| format!("hide={hide}&", hide = query.to_string()));
@@ -7281,7 +7292,7 @@ impl Api for Client {
Box::new(futures::done(result))
}
- fn get_work_edit(&self, param_edit_id: String, context: &Context) -> Box<Future<Item = GetWorkEditResponse, Error = ApiError> + Send> {
+ fn get_work_edit(&self, param_edit_id: String, context: &Context) -> Box<dyn Future<Item = GetWorkEditResponse, Error = ApiError> + Send> {
let url = format!(
"{}/v0/work/edit/{edit_id}",
self.base_path,
@@ -7345,7 +7356,7 @@ impl Api for Client {
Box::new(futures::done(result))
}
- fn get_work_history(&self, param_ident: String, param_limit: Option<i64>, context: &Context) -> Box<Future<Item = GetWorkHistoryResponse, Error = ApiError> + Send> {
+ fn get_work_history(&self, param_ident: String, param_limit: Option<i64>, context: &Context) -> Box<dyn Future<Item = GetWorkHistoryResponse, Error = ApiError> + Send> {
// Query parameters
let query_limit = param_limit.map_or_else(String::new, |query| format!("limit={limit}&", limit = query.to_string()));
@@ -7413,7 +7424,7 @@ impl Api for Client {
Box::new(futures::done(result))
}
- fn get_work_redirects(&self, param_ident: String, context: &Context) -> Box<Future<Item = GetWorkRedirectsResponse, Error = ApiError> + Send> {
+ fn get_work_redirects(&self, param_ident: String, context: &Context) -> Box<dyn Future<Item = GetWorkRedirectsResponse, Error = ApiError> + Send> {
let url = format!(
"{}/v0/work/{ident}/redirects",
self.base_path,
@@ -7477,7 +7488,7 @@ impl Api for Client {
Box::new(futures::done(result))
}
- fn get_work_releases(&self, param_ident: String, param_hide: Option<String>, context: &Context) -> Box<Future<Item = GetWorkReleasesResponse, Error = ApiError> + Send> {
+ fn get_work_releases(&self, param_ident: String, param_hide: Option<String>, context: &Context) -> Box<dyn Future<Item = GetWorkReleasesResponse, Error = ApiError> + Send> {
// Query parameters
let query_hide = param_hide.map_or_else(String::new, |query| format!("hide={hide}&", hide = query.to_string()));
@@ -7551,7 +7562,7 @@ impl Api for Client {
param_expand: Option<String>,
param_hide: Option<String>,
context: &Context,
- ) -> Box<Future<Item = GetWorkRevisionResponse, Error = ApiError> + Send> {
+ ) -> Box<dyn Future<Item = GetWorkRevisionResponse, Error = ApiError> + Send> {
// Query parameters
let query_expand = param_expand.map_or_else(String::new, |query| format!("expand={expand}&", expand = query.to_string()));
let query_hide = param_hide.map_or_else(String::new, |query| format!("hide={hide}&", hide = query.to_string()));
@@ -7621,7 +7632,7 @@ impl Api for Client {
Box::new(futures::done(result))
}
- fn update_work(&self, param_editgroup_id: String, param_ident: String, param_entity: models::WorkEntity, context: &Context) -> Box<Future<Item = UpdateWorkResponse, Error = ApiError> + Send> {
+ fn update_work(&self, param_editgroup_id: String, param_ident: String, param_entity: models::WorkEntity, context: &Context) -> Box<dyn Future<Item = UpdateWorkResponse, Error = ApiError> + Send> {
let url = format!(
"{}/v0/editgroup/{editgroup_id}/work/{ident}",
self.base_path,
@@ -7736,7 +7747,7 @@ impl From<openssl::error::ErrorStack> for ClientInitError {
impl fmt::Display for ClientInitError {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
- (self as &fmt::Debug).fmt(f)
+ (self as &dyn fmt::Debug).fmt(f)
}
}
diff --git a/rust/fatcat-openapi/src/lib.rs b/rust/fatcat-openapi/src/lib.rs
index ac434c31..59255193 100644
--- a/rust/fatcat-openapi/src/lib.rs
+++ b/rust/fatcat-openapi/src/lib.rs
@@ -1352,33 +1352,33 @@ pub enum UpdateWorkResponse {
/// API
pub trait Api {
- fn auth_check(&self, role: Option<String>, context: &Context) -> Box<Future<Item = AuthCheckResponse, Error = ApiError> + Send>;
+ fn auth_check(&self, role: Option<String>, context: &Context) -> Box<dyn Future<Item = AuthCheckResponse, Error = ApiError> + Send>;
- fn auth_oidc(&self, oidc_params: models::AuthOidc, context: &Context) -> Box<Future<Item = AuthOidcResponse, Error = ApiError> + Send>;
+ fn auth_oidc(&self, oidc_params: models::AuthOidc, context: &Context) -> Box<dyn Future<Item = AuthOidcResponse, Error = ApiError> + Send>;
- fn create_auth_token(&self, editor_id: String, duration_seconds: Option<i32>, context: &Context) -> Box<Future<Item = CreateAuthTokenResponse, Error = ApiError> + Send>;
+ fn create_auth_token(&self, editor_id: String, duration_seconds: Option<i32>, context: &Context) -> Box<dyn Future<Item = CreateAuthTokenResponse, Error = ApiError> + Send>;
- fn get_changelog(&self, limit: Option<i64>, context: &Context) -> Box<Future<Item = GetChangelogResponse, Error = ApiError> + Send>;
+ fn get_changelog(&self, limit: Option<i64>, context: &Context) -> Box<dyn Future<Item = GetChangelogResponse, Error = ApiError> + Send>;
- fn get_changelog_entry(&self, index: i64, context: &Context) -> Box<Future<Item = GetChangelogEntryResponse, Error = ApiError> + Send>;
+ fn get_changelog_entry(&self, index: i64, context: &Context) -> Box<dyn Future<Item = GetChangelogEntryResponse, Error = ApiError> + Send>;
- fn create_container(&self, editgroup_id: String, entity: models::ContainerEntity, context: &Context) -> Box<Future<Item = CreateContainerResponse, Error = ApiError> + Send>;
+ fn create_container(&self, editgroup_id: String, entity: models::ContainerEntity, context: &Context) -> Box<dyn Future<Item = CreateContainerResponse, Error = ApiError> + Send>;
- fn create_container_auto_batch(&self, auto_batch: models::ContainerAutoBatch, context: &Context) -> Box<Future<Item = CreateContainerAutoBatchResponse, Error = ApiError> + Send>;
+ fn create_container_auto_batch(&self, auto_batch: models::ContainerAutoBatch, context: &Context) -> Box<dyn Future<Item = CreateContainerAutoBatchResponse, Error = ApiError> + Send>;
- fn delete_container(&self, editgroup_id: String, ident: String, context: &Context) -> Box<Future<Item = DeleteContainerResponse, Error = ApiError> + Send>;
+ fn delete_container(&self, editgroup_id: String, ident: String, context: &Context) -> Box<dyn Future<Item = DeleteContainerResponse, Error = ApiError> + Send>;
- fn delete_container_edit(&self, editgroup_id: String, edit_id: String, context: &Context) -> Box<Future<Item = DeleteContainerEditResponse, Error = ApiError> + Send>;
+ fn delete_container_edit(&self, editgroup_id: String, edit_id: String, context: &Context) -> Box<dyn Future<Item = DeleteContainerEditResponse, Error = ApiError> + Send>;
- fn get_container(&self, ident: String, expand: Option<String>, hide: Option<String>, context: &Context) -> Box<Future<Item = GetContainerResponse, Error = ApiError> + Send>;
+ fn get_container(&self, ident: String, expand: Option<String>, hide: Option<String>, context: &Context) -> Box<dyn Future<Item = GetContainerResponse, Error = ApiError> + Send>;
- fn get_container_edit(&self, edit_id: String, context: &Context) -> Box<Future<Item = GetContainerEditResponse, Error = ApiError> + Send>;
+ fn get_container_edit(&self, edit_id: String, context: &Context) -> Box<dyn Future<Item = GetContainerEditResponse, Error = ApiError> + Send>;
- fn get_container_history(&self, ident: String, limit: Option<i64>, context: &Context) -> Box<Future<Item = GetContainerHistoryResponse, Error = ApiError> + Send>;
+ fn get_container_history(&self, ident: String, limit: Option<i64>, context: &Context) -> Box<dyn Future<Item = GetContainerHistoryResponse, Error = ApiError> + Send>;
- fn get_container_redirects(&self, ident: String, context: &Context) -> Box<Future<Item = GetContainerRedirectsResponse, Error = ApiError> + Send>;
+ fn get_container_redirects(&self, ident: String, context: &Context) -> Box<dyn Future<Item = GetContainerRedirectsResponse, Error = ApiError> + Send>;
- fn get_container_revision(&self, rev_id: String, expand: Option<String>, hide: Option<String>, context: &Context) -> Box<Future<Item = GetContainerRevisionResponse, Error = ApiError> + Send>;
+ fn get_container_revision(&self, rev_id: String, expand: Option<String>, hide: Option<String>, context: &Context) -> Box<dyn Future<Item = GetContainerRevisionResponse, Error = ApiError> + Send>;
fn lookup_container(
&self,
@@ -1387,29 +1387,29 @@ pub trait Api {
expand: Option<String>,
hide: Option<String>,
context: &Context,
- ) -> Box<Future<Item = LookupContainerResponse, Error = ApiError> + Send>;
+ ) -> Box<dyn Future<Item = LookupContainerResponse, Error = ApiError> + Send>;
- fn update_container(&self, editgroup_id: String, ident: String, entity: models::ContainerEntity, context: &Context) -> Box<Future<Item = UpdateContainerResponse, Error = ApiError> + Send>;
+ fn update_container(&self, editgroup_id: String, ident: String, entity: models::ContainerEntity, context: &Context) -> Box<dyn Future<Item = UpdateContainerResponse, Error = ApiError> + Send>;
- fn create_creator(&self, editgroup_id: String, entity: models::CreatorEntity, context: &Context) -> Box<Future<Item = CreateCreatorResponse, Error = ApiError> + Send>;
+ fn create_creator(&self, editgroup_id: String, entity: models::CreatorEntity, context: &Context) -> Box<dyn Future<Item = CreateCreatorResponse, Error = ApiError> + Send>;
- fn create_creator_auto_batch(&self, auto_batch: models::CreatorAutoBatch, context: &Context) -> Box<Future<Item = CreateCreatorAutoBatchResponse, Error = ApiError> + Send>;
+ fn create_creator_auto_batch(&self, auto_batch: models::CreatorAutoBatch, context: &Context) -> Box<dyn Future<Item = CreateCreatorAutoBatchResponse, Error = ApiError> + Send>;
- fn delete_creator(&self, editgroup_id: String, ident: String, context: &Context) -> Box<Future<Item = DeleteCreatorResponse, Error = ApiError> + Send>;
+ fn delete_creator(&self, editgroup_id: String, ident: String, context: &Context) -> Box<dyn Future<Item = DeleteCreatorResponse, Error = ApiError> + Send>;
- fn delete_creator_edit(&self, editgroup_id: String, edit_id: String, context: &Context) -> Box<Future<Item = DeleteCreatorEditResponse, Error = ApiError> + Send>;
+ fn delete_creator_edit(&self, editgroup_id: String, edit_id: String, context: &Context) -> Box<dyn Future<Item = DeleteCreatorEditResponse, Error = ApiError> + Send>;
- fn get_creator(&self, ident: String, expand: Option<String>, hide: Option<String>, context: &Context) -> Box<Future<Item = GetCreatorResponse, Error = ApiError> + Send>;
+ fn get_creator(&self, ident: String, expand: Option<String>, hide: Option<String>, context: &Context) -> Box<dyn Future<Item = GetCreatorResponse, Error = ApiError> + Send>;
- fn get_creator_edit(&self, edit_id: String, context: &Context) -> Box<Future<Item = GetCreatorEditResponse, Error = ApiError> + Send>;
+ fn get_creator_edit(&self, edit_id: String, context: &Context) -> Box<dyn Future<Item = GetCreatorEditResponse, Error = ApiError> + Send>;
- fn get_creator_history(&self, ident: String, limit: Option<i64>, context: &Context) -> Box<Future<Item = GetCreatorHistoryResponse, Error = ApiError> + Send>;
+ fn get_creator_history(&self, ident: String, limit: Option<i64>, context: &Context) -> Box<dyn Future<Item = GetCreatorHistoryResponse, Error = ApiError> + Send>;
- fn get_creator_redirects(&self, ident: String, context: &Context) -> Box<Future<Item = GetCreatorRedirectsResponse, Error = ApiError> + Send>;
+ fn get_creator_redirects(&self, ident: String, context: &Context) -> Box<dyn Future<Item = GetCreatorRedirectsResponse, Error = ApiError> + Send>;
- fn get_creator_releases(&self, ident: String, hide: Option<String>, context: &Context) -> Box<Future<Item = GetCreatorReleasesResponse, Error = ApiError> + Send>;
+ fn get_creator_releases(&self, ident: String, hide: Option<String>, context: &Context) -> Box<dyn Future<Item = GetCreatorReleasesResponse, Error = ApiError> + Send>;
- fn get_creator_revision(&self, rev_id: String, expand: Option<String>, hide: Option<String>, context: &Context) -> Box<Future<Item = GetCreatorRevisionResponse, Error = ApiError> + Send>;
+ fn get_creator_revision(&self, rev_id: String, expand: Option<String>, hide: Option<String>, context: &Context) -> Box<dyn Future<Item = GetCreatorRevisionResponse, Error = ApiError> + Send>;
fn lookup_creator(
&self,
@@ -1418,24 +1418,24 @@ pub trait Api {
expand: Option<String>,
hide: Option<String>,
context: &Context,
- ) -> Box<Future<Item = LookupCreatorResponse, Error = ApiError> + Send>;
+ ) -> Box<dyn Future<Item = LookupCreatorResponse, Error = ApiError> + Send>;
- fn update_creator(&self, editgroup_id: String, ident: String, entity: models::CreatorEntity, context: &Context) -> Box<Future<Item = UpdateCreatorResponse, Error = ApiError> + Send>;
+ fn update_creator(&self, editgroup_id: String, ident: String, entity: models::CreatorEntity, context: &Context) -> Box<dyn Future<Item = UpdateCreatorResponse, Error = ApiError> + Send>;
- fn accept_editgroup(&self, editgroup_id: String, context: &Context) -> Box<Future<Item = AcceptEditgroupResponse, Error = ApiError> + Send>;
+ fn accept_editgroup(&self, editgroup_id: String, context: &Context) -> Box<dyn Future<Item = AcceptEditgroupResponse, Error = ApiError> + Send>;
- fn create_editgroup(&self, editgroup: models::Editgroup, context: &Context) -> Box<Future<Item = CreateEditgroupResponse, Error = ApiError> + Send>;
+ fn create_editgroup(&self, editgroup: models::Editgroup, context: &Context) -> Box<dyn Future<Item = CreateEditgroupResponse, Error = ApiError> + Send>;
fn create_editgroup_annotation(
&self,
editgroup_id: String,
annotation: models::EditgroupAnnotation,
context: &Context,
- ) -> Box<Future<Item = CreateEditgroupAnnotationResponse, Error = ApiError> + Send>;
+ ) -> Box<dyn Future<Item = CreateEditgroupAnnotationResponse, Error = ApiError> + Send>;
- fn get_editgroup(&self, editgroup_id: String, context: &Context) -> Box<Future<Item = GetEditgroupResponse, Error = ApiError> + Send>;
+ fn get_editgroup(&self, editgroup_id: String, context: &Context) -> Box<dyn Future<Item = GetEditgroupResponse, Error = ApiError> + Send>;
- fn get_editgroup_annotations(&self, editgroup_id: String, expand: Option<String>, context: &Context) -> Box<Future<Item = GetEditgroupAnnotationsResponse, Error = ApiError> + Send>;
+ fn get_editgroup_annotations(&self, editgroup_id: String, expand: Option<String>, context: &Context) -> Box<dyn Future<Item = GetEditgroupAnnotationsResponse, Error = ApiError> + Send>;
fn get_editgroups_reviewable(
&self,
@@ -1444,11 +1444,12 @@ pub trait Api {
before: Option<chrono::DateTime<chrono::Utc>>,
since: Option<chrono::DateTime<chrono::Utc>>,
context: &Context,
- ) -> Box<Future<Item = GetEditgroupsReviewableResponse, Error = ApiError> + Send>;
+ ) -> Box<dyn Future<Item = GetEditgroupsReviewableResponse, Error = ApiError> + Send>;
- fn update_editgroup(&self, editgroup_id: String, editgroup: models::Editgroup, submit: Option<bool>, context: &Context) -> Box<Future<Item = UpdateEditgroupResponse, Error = ApiError> + Send>;
+ fn update_editgroup(&self, editgroup_id: String, editgroup: models::Editgroup, submit: Option<bool>, context: &Context)
+ -> Box<dyn Future<Item = UpdateEditgroupResponse, Error = ApiError> + Send>;
- fn get_editor(&self, editor_id: String, context: &Context) -> Box<Future<Item = GetEditorResponse, Error = ApiError> + Send>;
+ fn get_editor(&self, editor_id: String, context: &Context) -> Box<dyn Future<Item = GetEditorResponse, Error = ApiError> + Send>;
fn get_editor_annotations(
&self,
@@ -1457,7 +1458,7 @@ pub trait Api {
before: Option<chrono::DateTime<chrono::Utc>>,
since: Option<chrono::DateTime<chrono::Utc>>,
context: &Context,
- ) -> Box<Future<Item = GetEditorAnnotationsResponse, Error = ApiError> + Send>;
+ ) -> Box<dyn Future<Item = GetEditorAnnotationsResponse, Error = ApiError> + Send>;
fn get_editor_editgroups(
&self,
@@ -1466,27 +1467,27 @@ pub trait Api {
before: Option<chrono::DateTime<chrono::Utc>>,
since: Option<chrono::DateTime<chrono::Utc>>,
context: &Context,
- ) -> Box<Future<Item = GetEditorEditgroupsResponse, Error = ApiError> + Send>;
+ ) -> Box<dyn Future<Item = GetEditorEditgroupsResponse, Error = ApiError> + Send>;
- fn update_editor(&self, editor_id: String, editor: models::Editor, context: &Context) -> Box<Future<Item = UpdateEditorResponse, Error = ApiError> + Send>;
+ fn update_editor(&self, editor_id: String, editor: models::Editor, context: &Context) -> Box<dyn Future<Item = UpdateEditorResponse, Error = ApiError> + Send>;
- fn create_file(&self, editgroup_id: String, entity: models::FileEntity, context: &Context) -> Box<Future<Item = CreateFileResponse, Error = ApiError> + Send>;
+ fn create_file(&self, editgroup_id: String, entity: models::FileEntity, context: &Context) -> Box<dyn Future<Item = CreateFileResponse, Error = ApiError> + Send>;
- fn create_file_auto_batch(&self, auto_batch: models::FileAutoBatch, context: &Context) -> Box<Future<Item = CreateFileAutoBatchResponse, Error = ApiError> + Send>;
+ fn create_file_auto_batch(&self, auto_batch: models::FileAutoBatch, context: &Context) -> Box<dyn Future<Item = CreateFileAutoBatchResponse, Error = ApiError> + Send>;
- fn delete_file(&self, editgroup_id: String, ident: String, context: &Context) -> Box<Future<Item = DeleteFileResponse, Error = ApiError> + Send>;
+ fn delete_file(&self, editgroup_id: String, ident: String, context: &Context) -> Box<dyn Future<Item = DeleteFileResponse, Error = ApiError> + Send>;
- fn delete_file_edit(&self, editgroup_id: String, edit_id: String, context: &Context) -> Box<Future<Item = DeleteFileEditResponse, Error = ApiError> + Send>;
+ fn delete_file_edit(&self, editgroup_id: String, edit_id: String, context: &Context) -> Box<dyn Future<Item = DeleteFileEditResponse, Error = ApiError> + Send>;
- fn get_file(&self, ident: String, expand: Option<String>, hide: Option<String>, context: &Context) -> Box<Future<Item = GetFileResponse, Error = ApiError> + Send>;
+ fn get_file(&self, ident: String, expand: Option<String>, hide: Option<String>, context: &Context) -> Box<dyn Future<Item = GetFileResponse, Error = ApiError> + Send>;
- fn get_file_edit(&self, edit_id: String, context: &Context) -> Box<Future<Item = GetFileEditResponse, Error = ApiError> + Send>;
+ fn get_file_edit(&self, edit_id: String, context: &Context) -> Box<dyn Future<Item = GetFileEditResponse, Error = ApiError> + Send>;
- fn get_file_history(&self, ident: String, limit: Option<i64>, context: &Context) -> Box<Future<Item = GetFileHistoryResponse, Error = ApiError> + Send>;
+ fn get_file_history(&self, ident: String, limit: Option<i64>, context: &Context) -> Box<dyn Future<Item = GetFileHistoryResponse, Error = ApiError> + Send>;
- fn get_file_redirects(&self, ident: String, context: &Context) -> Box<Future<Item = GetFileRedirectsResponse, Error = ApiError> + Send>;
+ fn get_file_redirects(&self, ident: String, context: &Context) -> Box<dyn Future<Item = GetFileRedirectsResponse, Error = ApiError> + Send>;
- fn get_file_revision(&self, rev_id: String, expand: Option<String>, hide: Option<String>, context: &Context) -> Box<Future<Item = GetFileRevisionResponse, Error = ApiError> + Send>;
+ fn get_file_revision(&self, rev_id: String, expand: Option<String>, hide: Option<String>, context: &Context) -> Box<dyn Future<Item = GetFileRevisionResponse, Error = ApiError> + Send>;
fn lookup_file(
&self,
@@ -1496,53 +1497,53 @@ pub trait Api {
expand: Option<String>,
hide: Option<String>,
context: &Context,
- ) -> Box<Future<Item = LookupFileResponse, Error = ApiError> + Send>;
+ ) -> Box<dyn Future<Item = LookupFileResponse, Error = ApiError> + Send>;
- fn update_file(&self, editgroup_id: String, ident: String, entity: models::FileEntity, context: &Context) -> Box<Future<Item = UpdateFileResponse, Error = ApiError> + Send>;
+ fn update_file(&self, editgroup_id: String, ident: String, entity: models::FileEntity, context: &Context) -> Box<dyn Future<Item = UpdateFileResponse, Error = ApiError> + Send>;
- fn create_fileset(&self, editgroup_id: String, entity: models::FilesetEntity, context: &Context) -> Box<Future<Item = CreateFilesetResponse, Error = ApiError> + Send>;
+ fn create_fileset(&self, editgroup_id: String, entity: models::FilesetEntity, context: &Context) -> Box<dyn Future<Item = CreateFilesetResponse, Error = ApiError> + Send>;
- fn create_fileset_auto_batch(&self, auto_batch: models::FilesetAutoBatch, context: &Context) -> Box<Future<Item = CreateFilesetAutoBatchResponse, Error = ApiError> + Send>;
+ fn create_fileset_auto_batch(&self, auto_batch: models::FilesetAutoBatch, context: &Context) -> Box<dyn Future<Item = CreateFilesetAutoBatchResponse, Error = ApiError> + Send>;
- fn delete_fileset(&self, editgroup_id: String, ident: String, context: &Context) -> Box<Future<Item = DeleteFilesetResponse, Error = ApiError> + Send>;
+ fn delete_fileset(&self, editgroup_id: String, ident: String, context: &Context) -> Box<dyn Future<Item = DeleteFilesetResponse, Error = ApiError> + Send>;
- fn delete_fileset_edit(&self, editgroup_id: String, edit_id: String, context: &Context) -> Box<Future<Item = DeleteFilesetEditResponse, Error = ApiError> + Send>;
+ fn delete_fileset_edit(&self, editgroup_id: String, edit_id: String, context: &Context) -> Box<dyn Future<Item = DeleteFilesetEditResponse, Error = ApiError> + Send>;
- fn get_fileset(&self, ident: String, expand: Option<String>, hide: Option<String>, context: &Context) -> Box<Future<Item = GetFilesetResponse, Error = ApiError> + Send>;
+ fn get_fileset(&self, ident: String, expand: Option<String>, hide: Option<String>, context: &Context) -> Box<dyn Future<Item = GetFilesetResponse, Error = ApiError> + Send>;
- fn get_fileset_edit(&self, edit_id: String, context: &Context) -> Box<Future<Item = GetFilesetEditResponse, Error = ApiError> + Send>;
+ fn get_fileset_edit(&self, edit_id: String, context: &Context) -> Box<dyn Future<Item = GetFilesetEditResponse, Error = ApiError> + Send>;
- fn get_fileset_history(&self, ident: String, limit: Option<i64>, context: &Context) -> Box<Future<Item = GetFilesetHistoryResponse, Error = ApiError> + Send>;
+ fn get_fileset_history(&self, ident: String, limit: Option<i64>, context: &Context) -> Box<dyn Future<Item = GetFilesetHistoryResponse, Error = ApiError> + Send>;
- fn get_fileset_redirects(&self, ident: String, context: &Context) -> Box<Future<Item = GetFilesetRedirectsResponse, Error = ApiError> + Send>;
+ fn get_fileset_redirects(&self, ident: String, context: &Context) -> Box<dyn Future<Item = GetFilesetRedirectsResponse, Error = ApiError> + Send>;
- fn get_fileset_revision(&self, rev_id: String, expand: Option<String>, hide: Option<String>, context: &Context) -> Box<Future<Item = GetFilesetRevisionResponse, Error = ApiError> + Send>;
+ fn get_fileset_revision(&self, rev_id: String, expand: Option<String>, hide: Option<String>, context: &Context) -> Box<dyn Future<Item = GetFilesetRevisionResponse, Error = ApiError> + Send>;
- fn update_fileset(&self, editgroup_id: String, ident: String, entity: models::FilesetEntity, context: &Context) -> Box<Future<Item = UpdateFilesetResponse, Error = ApiError> + Send>;
+ fn update_fileset(&self, editgroup_id: String, ident: String, entity: models::FilesetEntity, context: &Context) -> Box<dyn Future<Item = UpdateFilesetResponse, Error = ApiError> + Send>;
- fn create_release(&self, editgroup_id: String, entity: models::ReleaseEntity, context: &Context) -> Box<Future<Item = CreateReleaseResponse, Error = ApiError> + Send>;
+ fn create_release(&self, editgroup_id: String, entity: models::ReleaseEntity, context: &Context) -> Box<dyn Future<Item = CreateReleaseResponse, Error = ApiError> + Send>;
- fn create_release_auto_batch(&self, auto_batch: models::ReleaseAutoBatch, context: &Context) -> Box<Future<Item = CreateReleaseAutoBatchResponse, Error = ApiError> + Send>;
+ fn create_release_auto_batch(&self, auto_batch: models::ReleaseAutoBatch, context: &Context) -> Box<dyn Future<Item = CreateReleaseAutoBatchResponse, Error = ApiError> + Send>;
- fn delete_release(&self, editgroup_id: String, ident: String, context: &Context) -> Box<Future<Item = DeleteReleaseResponse, Error = ApiError> + Send>;
+ fn delete_release(&self, editgroup_id: String, ident: String, context: &Context) -> Box<dyn Future<Item = DeleteReleaseResponse, Error = ApiError> + Send>;
- fn delete_release_edit(&self, editgroup_id: String, edit_id: String, context: &Context) -> Box<Future<Item = DeleteReleaseEditResponse, Error = ApiError> + Send>;
+ fn delete_release_edit(&self, editgroup_id: String, edit_id: String, context: &Context) -> Box<dyn Future<Item = DeleteReleaseEditResponse, Error = ApiError> + Send>;
- fn get_release(&self, ident: String, expand: Option<String>, hide: Option<String>, context: &Context) -> Box<Future<Item = GetReleaseResponse, Error = ApiError> + Send>;
+ fn get_release(&self, ident: String, expand: Option<String>, hide: Option<String>, context: &Context) -> Box<dyn Future<Item = GetReleaseResponse, Error = ApiError> + Send>;
- fn get_release_edit(&self, edit_id: String, context: &Context) -> Box<Future<Item = GetReleaseEditResponse, Error = ApiError> + Send>;
+ fn get_release_edit(&self, edit_id: String, context: &Context) -> Box<dyn Future<Item = GetReleaseEditResponse, Error = ApiError> + Send>;
- fn get_release_files(&self, ident: String, hide: Option<String>, context: &Context) -> Box<Future<Item = GetReleaseFilesResponse, Error = ApiError> + Send>;
+ fn get_release_files(&self, ident: String, hide: Option<String>, context: &Context) -> Box<dyn Future<Item = GetReleaseFilesResponse, Error = ApiError> + Send>;
- fn get_release_filesets(&self, ident: String, hide: Option<String>, context: &Context) -> Box<Future<Item = GetReleaseFilesetsResponse, Error = ApiError> + Send>;
+ fn get_release_filesets(&self, ident: String, hide: Option<String>, context: &Context) -> Box<dyn Future<Item = GetReleaseFilesetsResponse, Error = ApiError> + Send>;
- fn get_release_history(&self, ident: String, limit: Option<i64>, context: &Context) -> Box<Future<Item = GetReleaseHistoryResponse, Error = ApiError> + Send>;
+ fn get_release_history(&self, ident: String, limit: Option<i64>, context: &Context) -> Box<dyn Future<Item = GetReleaseHistoryResponse, Error = ApiError> + Send>;
- fn get_release_redirects(&self, ident: String, context: &Context) -> Box<Future<Item = GetReleaseRedirectsResponse, Error = ApiError> + Send>;
+ fn get_release_redirects(&self, ident: String, context: &Context) -> Box<dyn Future<Item = GetReleaseRedirectsResponse, Error = ApiError> + Send>;
- fn get_release_revision(&self, rev_id: String, expand: Option<String>, hide: Option<String>, context: &Context) -> Box<Future<Item = GetReleaseRevisionResponse, Error = ApiError> + Send>;
+ fn get_release_revision(&self, rev_id: String, expand: Option<String>, hide: Option<String>, context: &Context) -> Box<dyn Future<Item = GetReleaseRevisionResponse, Error = ApiError> + Send>;
- fn get_release_webcaptures(&self, ident: String, hide: Option<String>, context: &Context) -> Box<Future<Item = GetReleaseWebcapturesResponse, Error = ApiError> + Send>;
+ fn get_release_webcaptures(&self, ident: String, hide: Option<String>, context: &Context) -> Box<dyn Future<Item = GetReleaseWebcapturesResponse, Error = ApiError> + Send>;
fn lookup_release(
&self,
@@ -1559,82 +1560,88 @@ pub trait Api {
expand: Option<String>,
hide: Option<String>,
context: &Context,
- ) -> Box<Future<Item = LookupReleaseResponse, Error = ApiError> + Send>;
+ ) -> Box<dyn Future<Item = LookupReleaseResponse, Error = ApiError> + Send>;
- fn update_release(&self, editgroup_id: String, ident: String, entity: models::ReleaseEntity, context: &Context) -> Box<Future<Item = UpdateReleaseResponse, Error = ApiError> + Send>;
+ fn update_release(&self, editgroup_id: String, ident: String, entity: models::ReleaseEntity, context: &Context) -> Box<dyn Future<Item = UpdateReleaseResponse, Error = ApiError> + Send>;
- fn create_webcapture(&self, editgroup_id: String, entity: models::WebcaptureEntity, context: &Context) -> Box<Future<Item = CreateWebcaptureResponse, Error = ApiError> + Send>;
+ fn create_webcapture(&self, editgroup_id: String, entity: models::WebcaptureEntity, context: &Context) -> Box<dyn Future<Item = CreateWebcaptureResponse, Error = ApiError> + Send>;
- fn create_webcapture_auto_batch(&self, auto_batch: models::WebcaptureAutoBatch, context: &Context) -> Box<Future<Item = CreateWebcaptureAutoBatchResponse, Error = ApiError> + Send>;
+ fn create_webcapture_auto_batch(&self, auto_batch: models::WebcaptureAutoBatch, context: &Context) -> Box<dyn Future<Item = CreateWebcaptureAutoBatchResponse, Error = ApiError> + Send>;
- fn delete_webcapture(&self, editgroup_id: String, ident: String, context: &Context) -> Box<Future<Item = DeleteWebcaptureResponse, Error = ApiError> + Send>;
+ fn delete_webcapture(&self, editgroup_id: String, ident: String, context: &Context) -> Box<dyn Future<Item = DeleteWebcaptureResponse, Error = ApiError> + Send>;
- fn delete_webcapture_edit(&self, editgroup_id: String, edit_id: String, context: &Context) -> Box<Future<Item = DeleteWebcaptureEditResponse, Error = ApiError> + Send>;
+ fn delete_webcapture_edit(&self, editgroup_id: String, edit_id: String, context: &Context) -> Box<dyn Future<Item = DeleteWebcaptureEditResponse, Error = ApiError> + Send>;
- fn get_webcapture(&self, ident: String, expand: Option<String>, hide: Option<String>, context: &Context) -> Box<Future<Item = GetWebcaptureResponse, Error = ApiError> + Send>;
+ fn get_webcapture(&self, ident: String, expand: Option<String>, hide: Option<String>, context: &Context) -> Box<dyn Future<Item = GetWebcaptureResponse, Error = ApiError> + Send>;
- fn get_webcapture_edit(&self, edit_id: String, context: &Context) -> Box<Future<Item = GetWebcaptureEditResponse, Error = ApiError> + Send>;
+ fn get_webcapture_edit(&self, edit_id: String, context: &Context) -> Box<dyn Future<Item = GetWebcaptureEditResponse, Error = ApiError> + Send>;
- fn get_webcapture_history(&self, ident: String, limit: Option<i64>, context: &Context) -> Box<Future<Item = GetWebcaptureHistoryResponse, Error = ApiError> + Send>;
+ fn get_webcapture_history(&self, ident: String, limit: Option<i64>, context: &Context) -> Box<dyn Future<Item = GetWebcaptureHistoryResponse, Error = ApiError> + Send>;
- fn get_webcapture_redirects(&self, ident: String, context: &Context) -> Box<Future<Item = GetWebcaptureRedirectsResponse, Error = ApiError> + Send>;
+ fn get_webcapture_redirects(&self, ident: String, context: &Context) -> Box<dyn Future<Item = GetWebcaptureRedirectsResponse, Error = ApiError> + Send>;
- fn get_webcapture_revision(&self, rev_id: String, expand: Option<String>, hide: Option<String>, context: &Context) -> Box<Future<Item = GetWebcaptureRevisionResponse, Error = ApiError> + Send>;
+ fn get_webcapture_revision(
+ &self,
+ rev_id: String,
+ expand: Option<String>,
+ hide: Option<String>,
+ context: &Context,
+ ) -> Box<dyn Future<Item = GetWebcaptureRevisionResponse, Error = ApiError> + Send>;
- fn update_webcapture(&self, editgroup_id: String, ident: String, entity: models::WebcaptureEntity, context: &Context) -> Box<Future<Item = UpdateWebcaptureResponse, Error = ApiError> + Send>;
+ fn update_webcapture(&self, editgroup_id: String, ident: String, entity: models::WebcaptureEntity, context: &Context) -> Box<dyn Future<Item = UpdateWebcaptureResponse, Error = ApiError> + Send>;
- fn create_work(&self, editgroup_id: String, entity: models::WorkEntity, context: &Context) -> Box<Future<Item = CreateWorkResponse, Error = ApiError> + Send>;
+ fn create_work(&self, editgroup_id: String, entity: models::WorkEntity, context: &Context) -> Box<dyn Future<Item = CreateWorkResponse, Error = ApiError> + Send>;
- fn create_work_auto_batch(&self, auto_batch: models::WorkAutoBatch, context: &Context) -> Box<Future<Item = CreateWorkAutoBatchResponse, Error = ApiError> + Send>;
+ fn create_work_auto_batch(&self, auto_batch: models::WorkAutoBatch, context: &Context) -> Box<dyn Future<Item = CreateWorkAutoBatchResponse, Error = ApiError> + Send>;
- fn delete_work(&self, editgroup_id: String, ident: String, context: &Context) -> Box<Future<Item = DeleteWorkResponse, Error = ApiError> + Send>;
+ fn delete_work(&self, editgroup_id: String, ident: String, context: &Context) -> Box<dyn Future<Item = DeleteWorkResponse, Error = ApiError> + Send>;
- fn delete_work_edit(&self, editgroup_id: String, edit_id: String, context: &Context) -> Box<Future<Item = DeleteWorkEditResponse, Error = ApiError> + Send>;
+ fn delete_work_edit(&self, editgroup_id: String, edit_id: String, context: &Context) -> Box<dyn Future<Item = DeleteWorkEditResponse, Error = ApiError> + Send>;
- fn get_work(&self, ident: String, expand: Option<String>, hide: Option<String>, context: &Context) -> Box<Future<Item = GetWorkResponse, Error = ApiError> + Send>;
+ fn get_work(&self, ident: String, expand: Option<String>, hide: Option<String>, context: &Context) -> Box<dyn Future<Item = GetWorkResponse, Error = ApiError> + Send>;
- fn get_work_edit(&self, edit_id: String, context: &Context) -> Box<Future<Item = GetWorkEditResponse, Error = ApiError> + Send>;
+ fn get_work_edit(&self, edit_id: String, context: &Context) -> Box<dyn Future<Item = GetWorkEditResponse, Error = ApiError> + Send>;
- fn get_work_history(&self, ident: String, limit: Option<i64>, context: &Context) -> Box<Future<Item = GetWorkHistoryResponse, Error = ApiError> + Send>;
+ fn get_work_history(&self, ident: String, limit: Option<i64>, context: &Context) -> Box<dyn Future<Item = GetWorkHistoryResponse, Error = ApiError> + Send>;
- fn get_work_redirects(&self, ident: String, context: &Context) -> Box<Future<Item = GetWorkRedirectsResponse, Error = ApiError> + Send>;
+ fn get_work_redirects(&self, ident: String, context: &Context) -> Box<dyn Future<Item = GetWorkRedirectsResponse, Error = ApiError> + Send>;
- fn get_work_releases(&self, ident: String, hide: Option<String>, context: &Context) -> Box<Future<Item = GetWorkReleasesResponse, Error = ApiError> + Send>;
+ fn get_work_releases(&self, ident: String, hide: Option<String>, context: &Context) -> Box<dyn Future<Item = GetWorkReleasesResponse, Error = ApiError> + Send>;
- fn get_work_revision(&self, rev_id: String, expand: Option<String>, hide: Option<String>, context: &Context) -> Box<Future<Item = GetWorkRevisionResponse, Error = ApiError> + Send>;
+ fn get_work_revision(&self, rev_id: String, expand: Option<String>, hide: Option<String>, context: &Context) -> Box<dyn Future<Item = GetWorkRevisionResponse, Error = ApiError> + Send>;
- fn update_work(&self, editgroup_id: String, ident: String, entity: models::WorkEntity, context: &Context) -> Box<Future<Item = UpdateWorkResponse, Error = ApiError> + Send>;
+ fn update_work(&self, editgroup_id: String, ident: String, entity: models::WorkEntity, context: &Context) -> Box<dyn Future<Item = UpdateWorkResponse, Error = ApiError> + Send>;
}
/// API without a `Context`
pub trait ApiNoContext {
- fn auth_check(&self, role: Option<String>) -> Box<Future<Item = AuthCheckResponse, Error = ApiError> + Send>;
+ fn auth_check(&self, role: Option<String>) -> Box<dyn Future<Item = AuthCheckResponse, Error = ApiError> + Send>;
- fn auth_oidc(&self, oidc_params: models::AuthOidc) -> Box<Future<Item = AuthOidcResponse, Error = ApiError> + Send>;
+ fn auth_oidc(&self, oidc_params: models::AuthOidc) -> Box<dyn Future<Item = AuthOidcResponse, Error = ApiError> + Send>;
- fn create_auth_token(&self, editor_id: String, duration_seconds: Option<i32>) -> Box<Future<Item = CreateAuthTokenResponse, Error = ApiError> + Send>;
+ fn create_auth_token(&self, editor_id: String, duration_seconds: Option<i32>) -> Box<dyn Future<Item = CreateAuthTokenResponse, Error = ApiError> + Send>;
- fn get_changelog(&self, limit: Option<i64>) -> Box<Future<Item = GetChangelogResponse, Error = ApiError> + Send>;
+ fn get_changelog(&self, limit: Option<i64>) -> Box<dyn Future<Item = GetChangelogResponse, Error = ApiError> + Send>;
- fn get_changelog_entry(&self, index: i64) -> Box<Future<Item = GetChangelogEntryResponse, Error = ApiError> + Send>;
+ fn get_changelog_entry(&self, index: i64) -> Box<dyn Future<Item = GetChangelogEntryResponse, Error = ApiError> + Send>;
- fn create_container(&self, editgroup_id: String, entity: models::ContainerEntity) -> Box<Future<Item = CreateContainerResponse, Error = ApiError> + Send>;
+ fn create_container(&self, editgroup_id: String, entity: models::ContainerEntity) -> Box<dyn Future<Item = CreateContainerResponse, Error = ApiError> + Send>;
- fn create_container_auto_batch(&self, auto_batch: models::ContainerAutoBatch) -> Box<Future<Item = CreateContainerAutoBatchResponse, Error = ApiError> + Send>;
+ fn create_container_auto_batch(&self, auto_batch: models::ContainerAutoBatch) -> Box<dyn Future<Item = CreateContainerAutoBatchResponse, Error = ApiError> + Send>;
- fn delete_container(&self, editgroup_id: String, ident: String) -> Box<Future<Item = DeleteContainerResponse, Error = ApiError> + Send>;
+ fn delete_container(&self, editgroup_id: String, ident: String) -> Box<dyn Future<Item = DeleteContainerResponse, Error = ApiError> + Send>;
- fn delete_container_edit(&self, editgroup_id: String, edit_id: String) -> Box<Future<Item = DeleteContainerEditResponse, Error = ApiError> + Send>;
+ fn delete_container_edit(&self, editgroup_id: String, edit_id: String) -> Box<dyn Future<Item = DeleteContainerEditResponse, Error = ApiError> + Send>;
- fn get_container(&self, ident: String, expand: Option<String>, hide: Option<String>) -> Box<Future<Item = GetContainerResponse, Error = ApiError> + Send>;
+ fn get_container(&self, ident: String, expand: Option<String>, hide: Option<String>) -> Box<dyn Future<Item = GetContainerResponse, Error = ApiError> + Send>;
- fn get_container_edit(&self, edit_id: String) -> Box<Future<Item = GetContainerEditResponse, Error = ApiError> + Send>;
+ fn get_container_edit(&self, edit_id: String) -> Box<dyn Future<Item = GetContainerEditResponse, Error = ApiError> + Send>;
- fn get_container_history(&self, ident: String, limit: Option<i64>) -> Box<Future<Item = GetContainerHistoryResponse, Error = ApiError> + Send>;
+ fn get_container_history(&self, ident: String, limit: Option<i64>) -> Box<dyn Future<Item = GetContainerHistoryResponse, Error = ApiError> + Send>;
- fn get_container_redirects(&self, ident: String) -> Box<Future<Item = GetContainerRedirectsResponse, Error = ApiError> + Send>;
+ fn get_container_redirects(&self, ident: String) -> Box<dyn Future<Item = GetContainerRedirectsResponse, Error = ApiError> + Send>;
- fn get_container_revision(&self, rev_id: String, expand: Option<String>, hide: Option<String>) -> Box<Future<Item = GetContainerRevisionResponse, Error = ApiError> + Send>;
+ fn get_container_revision(&self, rev_id: String, expand: Option<String>, hide: Option<String>) -> Box<dyn Future<Item = GetContainerRevisionResponse, Error = ApiError> + Send>;
fn lookup_container(
&self,
@@ -1642,43 +1649,49 @@ pub trait ApiNoContext {
wikidata_qid: Option<String>,
expand: Option<String>,
hide: Option<String>,
- ) -> Box<Future<Item = LookupContainerResponse, Error = ApiError> + Send>;
+ ) -> Box<dyn Future<Item = LookupContainerResponse, Error = ApiError> + Send>;
- fn update_container(&self, editgroup_id: String, ident: String, entity: models::ContainerEntity) -> Box<Future<Item = UpdateContainerResponse, Error = ApiError> + Send>;
+ fn update_container(&self, editgroup_id: String, ident: String, entity: models::ContainerEntity) -> Box<dyn Future<Item = UpdateContainerResponse, Error = ApiError> + Send>;
- fn create_creator(&self, editgroup_id: String, entity: models::CreatorEntity) -> Box<Future<Item = CreateCreatorResponse, Error = ApiError> + Send>;
+ fn create_creator(&self, editgroup_id: String, entity: models::CreatorEntity) -> Box<dyn Future<Item = CreateCreatorResponse, Error = ApiError> + Send>;
- fn create_creator_auto_batch(&self, auto_batch: models::CreatorAutoBatch) -> Box<Future<Item = CreateCreatorAutoBatchResponse, Error = ApiError> + Send>;
+ fn create_creator_auto_batch(&self, auto_batch: models::CreatorAutoBatch) -> Box<dyn Future<Item = CreateCreatorAutoBatchResponse, Error = ApiError> + Send>;
- fn delete_creator(&self, editgroup_id: String, ident: String) -> Box<Future<Item = DeleteCreatorResponse, Error = ApiError> + Send>;
+ fn delete_creator(&self, editgroup_id: String, ident: String) -> Box<dyn Future<Item = DeleteCreatorResponse, Error = ApiError> + Send>;
- fn delete_creator_edit(&self, editgroup_id: String, edit_id: String) -> Box<Future<Item = DeleteCreatorEditResponse, Error = ApiError> + Send>;
+ fn delete_creator_edit(&self, editgroup_id: String, edit_id: String) -> Box<dyn Future<Item = DeleteCreatorEditResponse, Error = ApiError> + Send>;
- fn get_creator(&self, ident: String, expand: Option<String>, hide: Option<String>) -> Box<Future<Item = GetCreatorResponse, Error = ApiError> + Send>;
+ fn get_creator(&self, ident: String, expand: Option<String>, hide: Option<String>) -> Box<dyn Future<Item = GetCreatorResponse, Error = ApiError> + Send>;
- fn get_creator_edit(&self, edit_id: String) -> Box<Future<Item = GetCreatorEditResponse, Error = ApiError> + Send>;
+ fn get_creator_edit(&self, edit_id: String) -> Box<dyn Future<Item = GetCreatorEditResponse, Error = ApiError> + Send>;
- fn get_creator_history(&self, ident: String, limit: Option<i64>) -> Box<Future<Item = GetCreatorHistoryResponse, Error = ApiError> + Send>;
+ fn get_creator_history(&self, ident: String, limit: Option<i64>) -> Box<dyn Future<Item = GetCreatorHistoryResponse, Error = ApiError> + Send>;
- fn get_creator_redirects(&self, ident: String) -> Box<Future<Item = GetCreatorRedirectsResponse, Error = ApiError> + Send>;
+ fn get_creator_redirects(&self, ident: String) -> Box<dyn Future<Item = GetCreatorRedirectsResponse, Error = ApiError> + Send>;
- fn get_creator_releases(&self, ident: String, hide: Option<String>) -> Box<Future<Item = GetCreatorReleasesResponse, Error = ApiError> + Send>;
+ fn get_creator_releases(&self, ident: String, hide: Option<String>) -> Box<dyn Future<Item = GetCreatorReleasesResponse, Error = ApiError> + Send>;
- fn get_creator_revision(&self, rev_id: String, expand: Option<String>, hide: Option<String>) -> Box<Future<Item = GetCreatorRevisionResponse, Error = ApiError> + Send>;
+ fn get_creator_revision(&self, rev_id: String, expand: Option<String>, hide: Option<String>) -> Box<dyn Future<Item = GetCreatorRevisionResponse, Error = ApiError> + Send>;
- fn lookup_creator(&self, orcid: Option<String>, wikidata_qid: Option<String>, expand: Option<String>, hide: Option<String>) -> Box<Future<Item = LookupCreatorResponse, Error = ApiError> + Send>;
+ fn lookup_creator(
+ &self,
+ orcid: Option<String>,
+ wikidata_qid: Option<String>,
+ expand: Option<String>,
+ hide: Option<String>,
+ ) -> Box<dyn Future<Item = LookupCreatorResponse, Error = ApiError> + Send>;
- fn update_creator(&self, editgroup_id: String, ident: String, entity: models::CreatorEntity) -> Box<Future<Item = UpdateCreatorResponse, Error = ApiError> + Send>;
+ fn update_creator(&self, editgroup_id: String, ident: String, entity: models::CreatorEntity) -> Box<dyn Future<Item = UpdateCreatorResponse, Error = ApiError> + Send>;
- fn accept_editgroup(&self, editgroup_id: String) -> Box<Future<Item = AcceptEditgroupResponse, Error = ApiError> + Send>;
+ fn accept_editgroup(&self, editgroup_id: String) -> Box<dyn Future<Item = AcceptEditgroupResponse, Error = ApiError> + Send>;
- fn create_editgroup(&self, editgroup: models::Editgroup) -> Box<Future<Item = CreateEditgroupResponse, Error = ApiError> + Send>;
+ fn create_editgroup(&self, editgroup: models::Editgroup) -> Box<dyn Future<Item = CreateEditgroupResponse, Error = ApiError> + Send>;
- fn create_editgroup_annotation(&self, editgroup_id: String, annotation: models::EditgroupAnnotation) -> Box<Future<Item = CreateEditgroupAnnotationResponse, Error = ApiError> + Send>;
+ fn create_editgroup_annotation(&self, editgroup_id: String, annotation: models::EditgroupAnnotation) -> Box<dyn Future<Item = CreateEditgroupAnnotationResponse, Error = ApiError> + Send>;
- fn get_editgroup(&self, editgroup_id: String) -> Box<Future<Item = GetEditgroupResponse, Error = ApiError> + Send>;
+ fn get_editgroup(&self, editgroup_id: String) -> Box<dyn Future<Item = GetEditgroupResponse, Error = ApiError> + Send>;
- fn get_editgroup_annotations(&self, editgroup_id: String, expand: Option<String>) -> Box<Future<Item = GetEditgroupAnnotationsResponse, Error = ApiError> + Send>;
+ fn get_editgroup_annotations(&self, editgroup_id: String, expand: Option<String>) -> Box<dyn Future<Item = GetEditgroupAnnotationsResponse, Error = ApiError> + Send>;
fn get_editgroups_reviewable(
&self,
@@ -1686,11 +1699,11 @@ pub trait ApiNoContext {
limit: Option<i64>,
before: Option<chrono::DateTime<chrono::Utc>>,
since: Option<chrono::DateTime<chrono::Utc>>,
- ) -> Box<Future<Item = GetEditgroupsReviewableResponse, Error = ApiError> + Send>;
+ ) -> Box<dyn Future<Item = GetEditgroupsReviewableResponse, Error = ApiError> + Send>;
- fn update_editgroup(&self, editgroup_id: String, editgroup: models::Editgroup, submit: Option<bool>) -> Box<Future<Item = UpdateEditgroupResponse, Error = ApiError> + Send>;
+ fn update_editgroup(&self, editgroup_id: String, editgroup: models::Editgroup, submit: Option<bool>) -> Box<dyn Future<Item = UpdateEditgroupResponse, Error = ApiError> + Send>;
- fn get_editor(&self, editor_id: String) -> Box<Future<Item = GetEditorResponse, Error = ApiError> + Send>;
+ fn get_editor(&self, editor_id: String) -> Box<dyn Future<Item = GetEditorResponse, Error = ApiError> + Send>;
fn get_editor_annotations(
&self,
@@ -1698,7 +1711,7 @@ pub trait ApiNoContext {
limit: Option<i64>,
before: Option<chrono::DateTime<chrono::Utc>>,
since: Option<chrono::DateTime<chrono::Utc>>,
- ) -> Box<Future<Item = GetEditorAnnotationsResponse, Error = ApiError> + Send>;
+ ) -> Box<dyn Future<Item = GetEditorAnnotationsResponse, Error = ApiError> + Send>;
fn get_editor_editgroups(
&self,
@@ -1706,27 +1719,27 @@ pub trait ApiNoContext {
limit: Option<i64>,
before: Option<chrono::DateTime<chrono::Utc>>,
since: Option<chrono::DateTime<chrono::Utc>>,
- ) -> Box<Future<Item = GetEditorEditgroupsResponse, Error = ApiError> + Send>;
+ ) -> Box<dyn Future<Item = GetEditorEditgroupsResponse, Error = ApiError> + Send>;
- fn update_editor(&self, editor_id: String, editor: models::Editor) -> Box<Future<Item = UpdateEditorResponse, Error = ApiError> + Send>;
+ fn update_editor(&self, editor_id: String, editor: models::Editor) -> Box<dyn Future<Item = UpdateEditorResponse, Error = ApiError> + Send>;
- fn create_file(&self, editgroup_id: String, entity: models::FileEntity) -> Box<Future<Item = CreateFileResponse, Error = ApiError> + Send>;
+ fn create_file(&self, editgroup_id: String, entity: models::FileEntity) -> Box<dyn Future<Item = CreateFileResponse, Error = ApiError> + Send>;
- fn create_file_auto_batch(&self, auto_batch: models::FileAutoBatch) -> Box<Future<Item = CreateFileAutoBatchResponse, Error = ApiError> + Send>;
+ fn create_file_auto_batch(&self, auto_batch: models::FileAutoBatch) -> Box<dyn Future<Item = CreateFileAutoBatchResponse, Error = ApiError> + Send>;
- fn delete_file(&self, editgroup_id: String, ident: String) -> Box<Future<Item = DeleteFileResponse, Error = ApiError> + Send>;
+ fn delete_file(&self, editgroup_id: String, ident: String) -> Box<dyn Future<Item = DeleteFileResponse, Error = ApiError> + Send>;
- fn delete_file_edit(&self, editgroup_id: String, edit_id: String) -> Box<Future<Item = DeleteFileEditResponse, Error = ApiError> + Send>;
+ fn delete_file_edit(&self, editgroup_id: String, edit_id: String) -> Box<dyn Future<Item = DeleteFileEditResponse, Error = ApiError> + Send>;
- fn get_file(&self, ident: String, expand: Option<String>, hide: Option<String>) -> Box<Future<Item = GetFileResponse, Error = ApiError> + Send>;
+ fn get_file(&self, ident: String, expand: Option<String>, hide: Option<String>) -> Box<dyn Future<Item = GetFileResponse, Error = ApiError> + Send>;
- fn get_file_edit(&self, edit_id: String) -> Box<Future<Item = GetFileEditResponse, Error = ApiError> + Send>;
+ fn get_file_edit(&self, edit_id: String) -> Box<dyn Future<Item = GetFileEditResponse, Error = ApiError> + Send>;
- fn get_file_history(&self, ident: String, limit: Option<i64>) -> Box<Future<Item = GetFileHistoryResponse, Error = ApiError> + Send>;
+ fn get_file_history(&self, ident: String, limit: Option<i64>) -> Box<dyn Future<Item = GetFileHistoryResponse, Error = ApiError> + Send>;
- fn get_file_redirects(&self, ident: String) -> Box<Future<Item = GetFileRedirectsResponse, Error = ApiError> + Send>;
+ fn get_file_redirects(&self, ident: String) -> Box<dyn Future<Item = GetFileRedirectsResponse, Error = ApiError> + Send>;
- fn get_file_revision(&self, rev_id: String, expand: Option<String>, hide: Option<String>) -> Box<Future<Item = GetFileRevisionResponse, Error = ApiError> + Send>;
+ fn get_file_revision(&self, rev_id: String, expand: Option<String>, hide: Option<String>) -> Box<dyn Future<Item = GetFileRevisionResponse, Error = ApiError> + Send>;
fn lookup_file(
&self,
@@ -1735,53 +1748,53 @@ pub trait ApiNoContext {
sha256: Option<String>,
expand: Option<String>,
hide: Option<String>,
- ) -> Box<Future<Item = LookupFileResponse, Error = ApiError> + Send>;
+ ) -> Box<dyn Future<Item = LookupFileResponse, Error = ApiError> + Send>;
- fn update_file(&self, editgroup_id: String, ident: String, entity: models::FileEntity) -> Box<Future<Item = UpdateFileResponse, Error = ApiError> + Send>;
+ fn update_file(&self, editgroup_id: String, ident: String, entity: models::FileEntity) -> Box<dyn Future<Item = UpdateFileResponse, Error = ApiError> + Send>;
- fn create_fileset(&self, editgroup_id: String, entity: models::FilesetEntity) -> Box<Future<Item = CreateFilesetResponse, Error = ApiError> + Send>;
+ fn create_fileset(&self, editgroup_id: String, entity: models::FilesetEntity) -> Box<dyn Future<Item = CreateFilesetResponse, Error = ApiError> + Send>;
- fn create_fileset_auto_batch(&self, auto_batch: models::FilesetAutoBatch) -> Box<Future<Item = CreateFilesetAutoBatchResponse, Error = ApiError> + Send>;
+ fn create_fileset_auto_batch(&self, auto_batch: models::FilesetAutoBatch) -> Box<dyn Future<Item = CreateFilesetAutoBatchResponse, Error = ApiError> + Send>;
- fn delete_fileset(&self, editgroup_id: String, ident: String) -> Box<Future<Item = DeleteFilesetResponse, Error = ApiError> + Send>;
+ fn delete_fileset(&self, editgroup_id: String, ident: String) -> Box<dyn Future<Item = DeleteFilesetResponse, Error = ApiError> + Send>;
- fn delete_fileset_edit(&self, editgroup_id: String, edit_id: String) -> Box<Future<Item = DeleteFilesetEditResponse, Error = ApiError> + Send>;
+ fn delete_fileset_edit(&self, editgroup_id: String, edit_id: String) -> Box<dyn Future<Item = DeleteFilesetEditResponse, Error = ApiError> + Send>;
- fn get_fileset(&self, ident: String, expand: Option<String>, hide: Option<String>) -> Box<Future<Item = GetFilesetResponse, Error = ApiError> + Send>;
+ fn get_fileset(&self, ident: String, expand: Option<String>, hide: Option<String>) -> Box<dyn Future<Item = GetFilesetResponse, Error = ApiError> + Send>;
- fn get_fileset_edit(&self, edit_id: String) -> Box<Future<Item = GetFilesetEditResponse, Error = ApiError> + Send>;
+ fn get_fileset_edit(&self, edit_id: String) -> Box<dyn Future<Item = GetFilesetEditResponse, Error = ApiError> + Send>;
- fn get_fileset_history(&self, ident: String, limit: Option<i64>) -> Box<Future<Item = GetFilesetHistoryResponse, Error = ApiError> + Send>;
+ fn get_fileset_history(&self, ident: String, limit: Option<i64>) -> Box<dyn Future<Item = GetFilesetHistoryResponse, Error = ApiError> + Send>;
- fn get_fileset_redirects(&self, ident: String) -> Box<Future<Item = GetFilesetRedirectsResponse, Error = ApiError> + Send>;
+ fn get_fileset_redirects(&self, ident: String) -> Box<dyn Future<Item = GetFilesetRedirectsResponse, Error = ApiError> + Send>;
- fn get_fileset_revision(&self, rev_id: String, expand: Option<String>, hide: Option<String>) -> Box<Future<Item = GetFilesetRevisionResponse, Error = ApiError> + Send>;
+ fn get_fileset_revision(&self, rev_id: String, expand: Option<String>, hide: Option<String>) -> Box<dyn Future<Item = GetFilesetRevisionResponse, Error = ApiError> + Send>;
- fn update_fileset(&self, editgroup_id: String, ident: String, entity: models::FilesetEntity) -> Box<Future<Item = UpdateFilesetResponse, Error = ApiError> + Send>;
+ fn update_fileset(&self, editgroup_id: String, ident: String, entity: models::FilesetEntity) -> Box<dyn Future<Item = UpdateFilesetResponse, Error = ApiError> + Send>;
- fn create_release(&self, editgroup_id: String, entity: models::ReleaseEntity) -> Box<Future<Item = CreateReleaseResponse, Error = ApiError> + Send>;
+ fn create_release(&self, editgroup_id: String, entity: models::ReleaseEntity) -> Box<dyn Future<Item = CreateReleaseResponse, Error = ApiError> + Send>;
- fn create_release_auto_batch(&self, auto_batch: models::ReleaseAutoBatch) -> Box<Future<Item = CreateReleaseAutoBatchResponse, Error = ApiError> + Send>;
+ fn create_release_auto_batch(&self, auto_batch: models::ReleaseAutoBatch) -> Box<dyn Future<Item = CreateReleaseAutoBatchResponse, Error = ApiError> + Send>;
- fn delete_release(&self, editgroup_id: String, ident: String) -> Box<Future<Item = DeleteReleaseResponse, Error = ApiError> + Send>;
+ fn delete_release(&self, editgroup_id: String, ident: String) -> Box<dyn Future<Item = DeleteReleaseResponse, Error = ApiError> + Send>;
- fn delete_release_edit(&self, editgroup_id: String, edit_id: String) -> Box<Future<Item = DeleteReleaseEditResponse, Error = ApiError> + Send>;
+ fn delete_release_edit(&self, editgroup_id: String, edit_id: String) -> Box<dyn Future<Item = DeleteReleaseEditResponse, Error = ApiError> + Send>;
- fn get_release(&self, ident: String, expand: Option<String>, hide: Option<String>) -> Box<Future<Item = GetReleaseResponse, Error = ApiError> + Send>;
+ fn get_release(&self, ident: String, expand: Option<String>, hide: Option<String>) -> Box<dyn Future<Item = GetReleaseResponse, Error = ApiError> + Send>;
- fn get_release_edit(&self, edit_id: String) -> Box<Future<Item = GetReleaseEditResponse, Error = ApiError> + Send>;
+ fn get_release_edit(&self, edit_id: String) -> Box<dyn Future<Item = GetReleaseEditResponse, Error = ApiError> + Send>;
- fn get_release_files(&self, ident: String, hide: Option<String>) -> Box<Future<Item = GetReleaseFilesResponse, Error = ApiError> + Send>;
+ fn get_release_files(&self, ident: String, hide: Option<String>) -> Box<dyn Future<Item = GetReleaseFilesResponse, Error = ApiError> + Send>;
- fn get_release_filesets(&self, ident: String, hide: Option<String>) -> Box<Future<Item = GetReleaseFilesetsResponse, Error = ApiError> + Send>;
+ fn get_release_filesets(&self, ident: String, hide: Option<String>) -> Box<dyn Future<Item = GetReleaseFilesetsResponse, Error = ApiError> + Send>;
- fn get_release_history(&self, ident: String, limit: Option<i64>) -> Box<Future<Item = GetReleaseHistoryResponse, Error = ApiError> + Send>;
+ fn get_release_history(&self, ident: String, limit: Option<i64>) -> Box<dyn Future<Item = GetReleaseHistoryResponse, Error = ApiError> + Send>;
- fn get_release_redirects(&self, ident: String) -> Box<Future<Item = GetReleaseRedirectsResponse, Error = ApiError> + Send>;
+ fn get_release_redirects(&self, ident: String) -> Box<dyn Future<Item = GetReleaseRedirectsResponse, Error = ApiError> + Send>;
- fn get_release_revision(&self, rev_id: String, expand: Option<String>, hide: Option<String>) -> Box<Future<Item = GetReleaseRevisionResponse, Error = ApiError> + Send>;
+ fn get_release_revision(&self, rev_id: String, expand: Option<String>, hide: Option<String>) -> Box<dyn Future<Item = GetReleaseRevisionResponse, Error = ApiError> + Send>;
- fn get_release_webcaptures(&self, ident: String, hide: Option<String>) -> Box<Future<Item = GetReleaseWebcapturesResponse, Error = ApiError> + Send>;
+ fn get_release_webcaptures(&self, ident: String, hide: Option<String>) -> Box<dyn Future<Item = GetReleaseWebcapturesResponse, Error = ApiError> + Send>;
fn lookup_release(
&self,
@@ -1797,51 +1810,51 @@ pub trait ApiNoContext {
mag: Option<String>,
expand: Option<String>,
hide: Option<String>,
- ) -> Box<Future<Item = LookupReleaseResponse, Error = ApiError> + Send>;
+ ) -> Box<dyn Future<Item = LookupReleaseResponse, Error = ApiError> + Send>;
- fn update_release(&self, editgroup_id: String, ident: String, entity: models::ReleaseEntity) -> Box<Future<Item = UpdateReleaseResponse, Error = ApiError> + Send>;
+ fn update_release(&self, editgroup_id: String, ident: String, entity: models::ReleaseEntity) -> Box<dyn Future<Item = UpdateReleaseResponse, Error = ApiError> + Send>;
- fn create_webcapture(&self, editgroup_id: String, entity: models::WebcaptureEntity) -> Box<Future<Item = CreateWebcaptureResponse, Error = ApiError> + Send>;
+ fn create_webcapture(&self, editgroup_id: String, entity: models::WebcaptureEntity) -> Box<dyn Future<Item = CreateWebcaptureResponse, Error = ApiError> + Send>;
- fn create_webcapture_auto_batch(&self, auto_batch: models::WebcaptureAutoBatch) -> Box<Future<Item = CreateWebcaptureAutoBatchResponse, Error = ApiError> + Send>;
+ fn create_webcapture_auto_batch(&self, auto_batch: models::WebcaptureAutoBatch) -> Box<dyn Future<Item = CreateWebcaptureAutoBatchResponse, Error = ApiError> + Send>;
- fn delete_webcapture(&self, editgroup_id: String, ident: String) -> Box<Future<Item = DeleteWebcaptureResponse, Error = ApiError> + Send>;
+ fn delete_webcapture(&self, editgroup_id: String, ident: String) -> Box<dyn Future<Item = DeleteWebcaptureResponse, Error = ApiError> + Send>;
- fn delete_webcapture_edit(&self, editgroup_id: String, edit_id: String) -> Box<Future<Item = DeleteWebcaptureEditResponse, Error = ApiError> + Send>;
+ fn delete_webcapture_edit(&self, editgroup_id: String, edit_id: String) -> Box<dyn Future<Item = DeleteWebcaptureEditResponse, Error = ApiError> + Send>;
- fn get_webcapture(&self, ident: String, expand: Option<String>, hide: Option<String>) -> Box<Future<Item = GetWebcaptureResponse, Error = ApiError> + Send>;
+ fn get_webcapture(&self, ident: String, expand: Option<String>, hide: Option<String>) -> Box<dyn Future<Item = GetWebcaptureResponse, Error = ApiError> + Send>;
- fn get_webcapture_edit(&self, edit_id: String) -> Box<Future<Item = GetWebcaptureEditResponse, Error = ApiError> + Send>;
+ fn get_webcapture_edit(&self, edit_id: String) -> Box<dyn Future<Item = GetWebcaptureEditResponse, Error = ApiError> + Send>;
- fn get_webcapture_history(&self, ident: String, limit: Option<i64>) -> Box<Future<Item = GetWebcaptureHistoryResponse, Error = ApiError> + Send>;
+ fn get_webcapture_history(&self, ident: String, limit: Option<i64>) -> Box<dyn Future<Item = GetWebcaptureHistoryResponse, Error = ApiError> + Send>;
- fn get_webcapture_redirects(&self, ident: String) -> Box<Future<Item = GetWebcaptureRedirectsResponse, Error = ApiError> + Send>;
+ fn get_webcapture_redirects(&self, ident: String) -> Box<dyn Future<Item = GetWebcaptureRedirectsResponse, Error = ApiError> + Send>;
- fn get_webcapture_revision(&self, rev_id: String, expand: Option<String>, hide: Option<String>) -> Box<Future<Item = GetWebcaptureRevisionResponse, Error = ApiError> + Send>;
+ fn get_webcapture_revision(&self, rev_id: String, expand: Option<String>, hide: Option<String>) -> Box<dyn Future<Item = GetWebcaptureRevisionResponse, Error = ApiError> + Send>;
- fn update_webcapture(&self, editgroup_id: String, ident: String, entity: models::WebcaptureEntity) -> Box<Future<Item = UpdateWebcaptureResponse, Error = ApiError> + Send>;
+ fn update_webcapture(&self, editgroup_id: String, ident: String, entity: models::WebcaptureEntity) -> Box<dyn Future<Item = UpdateWebcaptureResponse, Error = ApiError> + Send>;
- fn create_work(&self, editgroup_id: String, entity: models::WorkEntity) -> Box<Future<Item = CreateWorkResponse, Error = ApiError> + Send>;
+ fn create_work(&self, editgroup_id: String, entity: models::WorkEntity) -> Box<dyn Future<Item = CreateWorkResponse, Error = ApiError> + Send>;
- fn create_work_auto_batch(&self, auto_batch: models::WorkAutoBatch) -> Box<Future<Item = CreateWorkAutoBatchResponse, Error = ApiError> + Send>;
+ fn create_work_auto_batch(&self, auto_batch: models::WorkAutoBatch) -> Box<dyn Future<Item = CreateWorkAutoBatchResponse, Error = ApiError> + Send>;
- fn delete_work(&self, editgroup_id: String, ident: String) -> Box<Future<Item = DeleteWorkResponse, Error = ApiError> + Send>;
+ fn delete_work(&self, editgroup_id: String, ident: String) -> Box<dyn Future<Item = DeleteWorkResponse, Error = ApiError> + Send>;
- fn delete_work_edit(&self, editgroup_id: String, edit_id: String) -> Box<Future<Item = DeleteWorkEditResponse, Error = ApiError> + Send>;
+ fn delete_work_edit(&self, editgroup_id: String, edit_id: String) -> Box<dyn Future<Item = DeleteWorkEditResponse, Error = ApiError> + Send>;
- fn get_work(&self, ident: String, expand: Option<String>, hide: Option<String>) -> Box<Future<Item = GetWorkResponse, Error = ApiError> + Send>;
+ fn get_work(&self, ident: String, expand: Option<String>, hide: Option<String>) -> Box<dyn Future<Item = GetWorkResponse, Error = ApiError> + Send>;
- fn get_work_edit(&self, edit_id: String) -> Box<Future<Item = GetWorkEditResponse, Error = ApiError> + Send>;
+ fn get_work_edit(&self, edit_id: String) -> Box<dyn Future<Item = GetWorkEditResponse, Error = ApiError> + Send>;
- fn get_work_history(&self, ident: String, limit: Option<i64>) -> Box<Future<Item = GetWorkHistoryResponse, Error = ApiError> + Send>;
+ fn get_work_history(&self, ident: String, limit: Option<i64>) -> Box<dyn Future<Item = GetWorkHistoryResponse, Error = ApiError> + Send>;
- fn get_work_redirects(&self, ident: String) -> Box<Future<Item = GetWorkRedirectsResponse, Error = ApiError> + Send>;
+ fn get_work_redirects(&self, ident: String) -> Box<dyn Future<Item = GetWorkRedirectsResponse, Error = ApiError> + Send>;
- fn get_work_releases(&self, ident: String, hide: Option<String>) -> Box<Future<Item = GetWorkReleasesResponse, Error = ApiError> + Send>;
+ fn get_work_releases(&self, ident: String, hide: Option<String>) -> Box<dyn Future<Item = GetWorkReleasesResponse, Error = ApiError> + Send>;
- fn get_work_revision(&self, rev_id: String, expand: Option<String>, hide: Option<String>) -> Box<Future<Item = GetWorkRevisionResponse, Error = ApiError> + Send>;
+ fn get_work_revision(&self, rev_id: String, expand: Option<String>, hide: Option<String>) -> Box<dyn Future<Item = GetWorkRevisionResponse, Error = ApiError> + Send>;
- fn update_work(&self, editgroup_id: String, ident: String, entity: models::WorkEntity) -> Box<Future<Item = UpdateWorkResponse, Error = ApiError> + Send>;
+ fn update_work(&self, editgroup_id: String, ident: String, entity: models::WorkEntity) -> Box<dyn Future<Item = UpdateWorkResponse, Error = ApiError> + Send>;
}
/// Trait to extend an API to make it easy to bind it to a context.
@@ -1860,59 +1873,59 @@ impl<'a, T: Api + Sized> ContextWrapperExt<'a> for T {
}
impl<'a, T: Api> ApiNoContext for ContextWrapper<'a, T> {
- fn auth_check(&self, role: Option<String>) -> Box<Future<Item = AuthCheckResponse, Error = ApiError> + Send> {
+ fn auth_check(&self, role: Option<String>) -> Box<dyn Future<Item = AuthCheckResponse, Error = ApiError> + Send> {
self.api().auth_check(role, &self.context())
}
- fn auth_oidc(&self, oidc_params: models::AuthOidc) -> Box<Future<Item = AuthOidcResponse, Error = ApiError> + Send> {
+ fn auth_oidc(&self, oidc_params: models::AuthOidc) -> Box<dyn Future<Item = AuthOidcResponse, Error = ApiError> + Send> {
self.api().auth_oidc(oidc_params, &self.context())
}
- fn create_auth_token(&self, editor_id: String, duration_seconds: Option<i32>) -> Box<Future<Item = CreateAuthTokenResponse, Error = ApiError> + Send> {
+ fn create_auth_token(&self, editor_id: String, duration_seconds: Option<i32>) -> Box<dyn Future<Item = CreateAuthTokenResponse, Error = ApiError> + Send> {
self.api().create_auth_token(editor_id, duration_seconds, &self.context())
}
- fn get_changelog(&self, limit: Option<i64>) -> Box<Future<Item = GetChangelogResponse, Error = ApiError> + Send> {
+ fn get_changelog(&self, limit: Option<i64>) -> Box<dyn Future<Item = GetChangelogResponse, Error = ApiError> + Send> {
self.api().get_changelog(limit, &self.context())
}
- fn get_changelog_entry(&self, index: i64) -> Box<Future<Item = GetChangelogEntryResponse, Error = ApiError> + Send> {
+ fn get_changelog_entry(&self, index: i64) -> Box<dyn Future<Item = GetChangelogEntryResponse, Error = ApiError> + Send> {
self.api().get_changelog_entry(index, &self.context())
}
- fn create_container(&self, editgroup_id: String, entity: models::ContainerEntity) -> Box<Future<Item = CreateContainerResponse, Error = ApiError> + Send> {
+ fn create_container(&self, editgroup_id: String, entity: models::ContainerEntity) -> Box<dyn Future<Item = CreateContainerResponse, Error = ApiError> + Send> {
self.api().create_container(editgroup_id, entity, &self.context())
}
- fn create_container_auto_batch(&self, auto_batch: models::ContainerAutoBatch) -> Box<Future<Item = CreateContainerAutoBatchResponse, Error = ApiError> + Send> {
+ fn create_container_auto_batch(&self, auto_batch: models::ContainerAutoBatch) -> Box<dyn Future<Item = CreateContainerAutoBatchResponse, Error = ApiError> + Send> {
self.api().create_container_auto_batch(auto_batch, &self.context())
}
- fn delete_container(&self, editgroup_id: String, ident: String) -> Box<Future<Item = DeleteContainerResponse, Error = ApiError> + Send> {
+ fn delete_container(&self, editgroup_id: String, ident: String) -> Box<dyn Future<Item = DeleteContainerResponse, Error = ApiError> + Send> {
self.api().delete_container(editgroup_id, ident, &self.context())
}
- fn delete_container_edit(&self, editgroup_id: String, edit_id: String) -> Box<Future<Item = DeleteContainerEditResponse, Error = ApiError> + Send> {
+ fn delete_container_edit(&self, editgroup_id: String, edit_id: String) -> Box<dyn Future<Item = DeleteContainerEditResponse, Error = ApiError> + Send> {
self.api().delete_container_edit(editgroup_id, edit_id, &self.context())
}
- fn get_container(&self, ident: String, expand: Option<String>, hide: Option<String>) -> Box<Future<Item = GetContainerResponse, Error = ApiError> + Send> {
+ fn get_container(&self, ident: String, expand: Option<String>, hide: Option<String>) -> Box<dyn Future<Item = GetContainerResponse, Error = ApiError> + Send> {
self.api().get_container(ident, expand, hide, &self.context())
}
- fn get_container_edit(&self, edit_id: String) -> Box<Future<Item = GetContainerEditResponse, Error = ApiError> + Send> {
+ fn get_container_edit(&self, edit_id: String) -> Box<dyn Future<Item = GetContainerEditResponse, Error = ApiError> + Send> {
self.api().get_container_edit(edit_id, &self.context())
}
- fn get_container_history(&self, ident: String, limit: Option<i64>) -> Box<Future<Item = GetContainerHistoryResponse, Error = ApiError> + Send> {
+ fn get_container_history(&self, ident: String, limit: Option<i64>) -> Box<dyn Future<Item = GetContainerHistoryResponse, Error = ApiError> + Send> {
self.api().get_container_history(ident, limit, &self.context())
}
- fn get_container_redirects(&self, ident: String) -> Box<Future<Item = GetContainerRedirectsResponse, Error = ApiError> + Send> {
+ fn get_container_redirects(&self, ident: String) -> Box<dyn Future<Item = GetContainerRedirectsResponse, Error = ApiError> + Send> {
self.api().get_container_redirects(ident, &self.context())
}
- fn get_container_revision(&self, rev_id: String, expand: Option<String>, hide: Option<String>) -> Box<Future<Item = GetContainerRevisionResponse, Error = ApiError> + Send> {
+ fn get_container_revision(&self, rev_id: String, expand: Option<String>, hide: Option<String>) -> Box<dyn Future<Item = GetContainerRevisionResponse, Error = ApiError> + Send> {
self.api().get_container_revision(rev_id, expand, hide, &self.context())
}
@@ -1922,79 +1935,85 @@ impl<'a, T: Api> ApiNoContext for ContextWrapper<'a, T> {
wikidata_qid: Option<String>,
expand: Option<String>,
hide: Option<String>,
- ) -> Box<Future<Item = LookupContainerResponse, Error = ApiError> + Send> {
+ ) -> Box<dyn Future<Item = LookupContainerResponse, Error = ApiError> + Send> {
self.api().lookup_container(issnl, wikidata_qid, expand, hide, &self.context())
}
- fn update_container(&self, editgroup_id: String, ident: String, entity: models::ContainerEntity) -> Box<Future<Item = UpdateContainerResponse, Error = ApiError> + Send> {
+ fn update_container(&self, editgroup_id: String, ident: String, entity: models::ContainerEntity) -> Box<dyn Future<Item = UpdateContainerResponse, Error = ApiError> + Send> {
self.api().update_container(editgroup_id, ident, entity, &self.context())
}
- fn create_creator(&self, editgroup_id: String, entity: models::CreatorEntity) -> Box<Future<Item = CreateCreatorResponse, Error = ApiError> + Send> {
+ fn create_creator(&self, editgroup_id: String, entity: models::CreatorEntity) -> Box<dyn Future<Item = CreateCreatorResponse, Error = ApiError> + Send> {
self.api().create_creator(editgroup_id, entity, &self.context())
}
- fn create_creator_auto_batch(&self, auto_batch: models::CreatorAutoBatch) -> Box<Future<Item = CreateCreatorAutoBatchResponse, Error = ApiError> + Send> {
+ fn create_creator_auto_batch(&self, auto_batch: models::CreatorAutoBatch) -> Box<dyn Future<Item = CreateCreatorAutoBatchResponse, Error = ApiError> + Send> {
self.api().create_creator_auto_batch(auto_batch, &self.context())
}
- fn delete_creator(&self, editgroup_id: String, ident: String) -> Box<Future<Item = DeleteCreatorResponse, Error = ApiError> + Send> {
+ fn delete_creator(&self, editgroup_id: String, ident: String) -> Box<dyn Future<Item = DeleteCreatorResponse, Error = ApiError> + Send> {
self.api().delete_creator(editgroup_id, ident, &self.context())
}
- fn delete_creator_edit(&self, editgroup_id: String, edit_id: String) -> Box<Future<Item = DeleteCreatorEditResponse, Error = ApiError> + Send> {
+ fn delete_creator_edit(&self, editgroup_id: String, edit_id: String) -> Box<dyn Future<Item = DeleteCreatorEditResponse, Error = ApiError> + Send> {
self.api().delete_creator_edit(editgroup_id, edit_id, &self.context())
}
- fn get_creator(&self, ident: String, expand: Option<String>, hide: Option<String>) -> Box<Future<Item = GetCreatorResponse, Error = ApiError> + Send> {
+ fn get_creator(&self, ident: String, expand: Option<String>, hide: Option<String>) -> Box<dyn Future<Item = GetCreatorResponse, Error = ApiError> + Send> {
self.api().get_creator(ident, expand, hide, &self.context())
}
- fn get_creator_edit(&self, edit_id: String) -> Box<Future<Item = GetCreatorEditResponse, Error = ApiError> + Send> {
+ fn get_creator_edit(&self, edit_id: String) -> Box<dyn Future<Item = GetCreatorEditResponse, Error = ApiError> + Send> {
self.api().get_creator_edit(edit_id, &self.context())
}
- fn get_creator_history(&self, ident: String, limit: Option<i64>) -> Box<Future<Item = GetCreatorHistoryResponse, Error = ApiError> + Send> {
+ fn get_creator_history(&self, ident: String, limit: Option<i64>) -> Box<dyn Future<Item = GetCreatorHistoryResponse, Error = ApiError> + Send> {
self.api().get_creator_history(ident, limit, &self.context())
}
- fn get_creator_redirects(&self, ident: String) -> Box<Future<Item = GetCreatorRedirectsResponse, Error = ApiError> + Send> {
+ fn get_creator_redirects(&self, ident: String) -> Box<dyn Future<Item = GetCreatorRedirectsResponse, Error = ApiError> + Send> {
self.api().get_creator_redirects(ident, &self.context())
}
- fn get_creator_releases(&self, ident: String, hide: Option<String>) -> Box<Future<Item = GetCreatorReleasesResponse, Error = ApiError> + Send> {
+ fn get_creator_releases(&self, ident: String, hide: Option<String>) -> Box<dyn Future<Item = GetCreatorReleasesResponse, Error = ApiError> + Send> {
self.api().get_creator_releases(ident, hide, &self.context())
}
- fn get_creator_revision(&self, rev_id: String, expand: Option<String>, hide: Option<String>) -> Box<Future<Item = GetCreatorRevisionResponse, Error = ApiError> + Send> {
+ fn get_creator_revision(&self, rev_id: String, expand: Option<String>, hide: Option<String>) -> Box<dyn Future<Item = GetCreatorRevisionResponse, Error = ApiError> + Send> {
self.api().get_creator_revision(rev_id, expand, hide, &self.context())
}
- fn lookup_creator(&self, orcid: Option<String>, wikidata_qid: Option<String>, expand: Option<String>, hide: Option<String>) -> Box<Future<Item = LookupCreatorResponse, Error = ApiError> + Send> {
+ fn lookup_creator(
+ &self,
+ orcid: Option<String>,
+ wikidata_qid: Option<String>,
+ expand: Option<String>,
+ hide: Option<String>,
+ ) -> Box<dyn Future<Item = LookupCreatorResponse, Error = ApiError> + Send> {
self.api().lookup_creator(orcid, wikidata_qid, expand, hide, &self.context())
}
- fn update_creator(&self, editgroup_id: String, ident: String, entity: models::CreatorEntity) -> Box<Future<Item = UpdateCreatorResponse, Error = ApiError> + Send> {
+ fn update_creator(&self, editgroup_id: String, ident: String, entity: models::CreatorEntity) -> Box<dyn Future<Item = UpdateCreatorResponse, Error = ApiError> + Send> {
self.api().update_creator(editgroup_id, ident, entity, &self.context())
}
- fn accept_editgroup(&self, editgroup_id: String) -> Box<Future<Item = AcceptEditgroupResponse, Error = ApiError> + Send> {
+ fn accept_editgroup(&self, editgroup_id: String) -> Box<dyn Future<Item = AcceptEditgroupResponse, Error = ApiError> + Send> {
self.api().accept_editgroup(editgroup_id, &self.context())
}
- fn create_editgroup(&self, editgroup: models::Editgroup) -> Box<Future<Item = CreateEditgroupResponse, Error = ApiError> + Send> {
+ fn create_editgroup(&self, editgroup: models::Editgroup) -> Box<dyn Future<Item = CreateEditgroupResponse, Error = ApiError> + Send> {
self.api().create_editgroup(editgroup, &self.context())
}
- fn create_editgroup_annotation(&self, editgroup_id: String, annotation: models::EditgroupAnnotation) -> Box<Future<Item = CreateEditgroupAnnotationResponse, Error = ApiError> + Send> {
+ fn create_editgroup_annotation(&self, editgroup_id: String, annotation: models::EditgroupAnnotation) -> Box<dyn Future<Item = CreateEditgroupAnnotationResponse, Error = ApiError> + Send> {
self.api().create_editgroup_annotation(editgroup_id, annotation, &self.context())
}
- fn get_editgroup(&self, editgroup_id: String) -> Box<Future<Item = GetEditgroupResponse, Error = ApiError> + Send> {
+ fn get_editgroup(&self, editgroup_id: String) -> Box<dyn Future<Item = GetEditgroupResponse, Error = ApiError> + Send> {
self.api().get_editgroup(editgroup_id, &self.context())
}
- fn get_editgroup_annotations(&self, editgroup_id: String, expand: Option<String>) -> Box<Future<Item = GetEditgroupAnnotationsResponse, Error = ApiError> + Send> {
+ fn get_editgroup_annotations(&self, editgroup_id: String, expand: Option<String>) -> Box<dyn Future<Item = GetEditgroupAnnotationsResponse, Error = ApiError> + Send> {
self.api().get_editgroup_annotations(editgroup_id, expand, &self.context())
}
@@ -2004,15 +2023,15 @@ impl<'a, T: Api> ApiNoContext for ContextWrapper<'a, T> {
limit: Option<i64>,
before: Option<chrono::DateTime<chrono::Utc>>,
since: Option<chrono::DateTime<chrono::Utc>>,
- ) -> Box<Future<Item = GetEditgroupsReviewableResponse, Error = ApiError> + Send> {
+ ) -> Box<dyn Future<Item = GetEditgroupsReviewableResponse, Error = ApiError> + Send> {
self.api().get_editgroups_reviewable(expand, limit, before, since, &self.context())
}
- fn update_editgroup(&self, editgroup_id: String, editgroup: models::Editgroup, submit: Option<bool>) -> Box<Future<Item = UpdateEditgroupResponse, Error = ApiError> + Send> {
+ fn update_editgroup(&self, editgroup_id: String, editgroup: models::Editgroup, submit: Option<bool>) -> Box<dyn Future<Item = UpdateEditgroupResponse, Error = ApiError> + Send> {
self.api().update_editgroup(editgroup_id, editgroup, submit, &self.context())
}
- fn get_editor(&self, editor_id: String) -> Box<Future<Item = GetEditorResponse, Error = ApiError> + Send> {
+ fn get_editor(&self, editor_id: String) -> Box<dyn Future<Item = GetEditorResponse, Error = ApiError> + Send> {
self.api().get_editor(editor_id, &self.context())
}
@@ -2022,7 +2041,7 @@ impl<'a, T: Api> ApiNoContext for ContextWrapper<'a, T> {
limit: Option<i64>,
before: Option<chrono::DateTime<chrono::Utc>>,
since: Option<chrono::DateTime<chrono::Utc>>,
- ) -> Box<Future<Item = GetEditorAnnotationsResponse, Error = ApiError> + Send> {
+ ) -> Box<dyn Future<Item = GetEditorAnnotationsResponse, Error = ApiError> + Send> {
self.api().get_editor_annotations(editor_id, limit, before, since, &self.context())
}
@@ -2032,47 +2051,47 @@ impl<'a, T: Api> ApiNoContext for ContextWrapper<'a, T> {
limit: Option<i64>,
before: Option<chrono::DateTime<chrono::Utc>>,
since: Option<chrono::DateTime<chrono::Utc>>,
- ) -> Box<Future<Item = GetEditorEditgroupsResponse, Error = ApiError> + Send> {
+ ) -> Box<dyn Future<Item = GetEditorEditgroupsResponse, Error = ApiError> + Send> {
self.api().get_editor_editgroups(editor_id, limit, before, since, &self.context())
}
- fn update_editor(&self, editor_id: String, editor: models::Editor) -> Box<Future<Item = UpdateEditorResponse, Error = ApiError> + Send> {
+ fn update_editor(&self, editor_id: String, editor: models::Editor) -> Box<dyn Future<Item = UpdateEditorResponse, Error = ApiError> + Send> {
self.api().update_editor(editor_id, editor, &self.context())
}
- fn create_file(&self, editgroup_id: String, entity: models::FileEntity) -> Box<Future<Item = CreateFileResponse, Error = ApiError> + Send> {
+ fn create_file(&self, editgroup_id: String, entity: models::FileEntity) -> Box<dyn Future<Item = CreateFileResponse, Error = ApiError> + Send> {
self.api().create_file(editgroup_id, entity, &self.context())
}
- fn create_file_auto_batch(&self, auto_batch: models::FileAutoBatch) -> Box<Future<Item = CreateFileAutoBatchResponse, Error = ApiError> + Send> {
+ fn create_file_auto_batch(&self, auto_batch: models::FileAutoBatch) -> Box<dyn Future<Item = CreateFileAutoBatchResponse, Error = ApiError> + Send> {
self.api().create_file_auto_batch(auto_batch, &self.context())
}
- fn delete_file(&self, editgroup_id: String, ident: String) -> Box<Future<Item = DeleteFileResponse, Error = ApiError> + Send> {
+ fn delete_file(&self, editgroup_id: String, ident: String) -> Box<dyn Future<Item = DeleteFileResponse, Error = ApiError> + Send> {
self.api().delete_file(editgroup_id, ident, &self.context())
}
- fn delete_file_edit(&self, editgroup_id: String, edit_id: String) -> Box<Future<Item = DeleteFileEditResponse, Error = ApiError> + Send> {
+ fn delete_file_edit(&self, editgroup_id: String, edit_id: String) -> Box<dyn Future<Item = DeleteFileEditResponse, Error = ApiError> + Send> {
self.api().delete_file_edit(editgroup_id, edit_id, &self.context())
}
- fn get_file(&self, ident: String, expand: Option<String>, hide: Option<String>) -> Box<Future<Item = GetFileResponse, Error = ApiError> + Send> {
+ fn get_file(&self, ident: String, expand: Option<String>, hide: Option<String>) -> Box<dyn Future<Item = GetFileResponse, Error = ApiError> + Send> {
self.api().get_file(ident, expand, hide, &self.context())
}
- fn get_file_edit(&self, edit_id: String) -> Box<Future<Item = GetFileEditResponse, Error = ApiError> + Send> {
+ fn get_file_edit(&self, edit_id: String) -> Box<dyn Future<Item = GetFileEditResponse, Error = ApiError> + Send> {
self.api().get_file_edit(edit_id, &self.context())
}
- fn get_file_history(&self, ident: String, limit: Option<i64>) -> Box<Future<Item = GetFileHistoryResponse, Error = ApiError> + Send> {
+ fn get_file_history(&self, ident: String, limit: Option<i64>) -> Box<dyn Future<Item = GetFileHistoryResponse, Error = ApiError> + Send> {
self.api().get_file_history(ident, limit, &self.context())
}
- fn get_file_redirects(&self, ident: String) -> Box<Future<Item = GetFileRedirectsResponse, Error = ApiError> + Send> {
+ fn get_file_redirects(&self, ident: String) -> Box<dyn Future<Item = GetFileRedirectsResponse, Error = ApiError> + Send> {
self.api().get_file_redirects(ident, &self.context())
}
- fn get_file_revision(&self, rev_id: String, expand: Option<String>, hide: Option<String>) -> Box<Future<Item = GetFileRevisionResponse, Error = ApiError> + Send> {
+ fn get_file_revision(&self, rev_id: String, expand: Option<String>, hide: Option<String>) -> Box<dyn Future<Item = GetFileRevisionResponse, Error = ApiError> + Send> {
self.api().get_file_revision(rev_id, expand, hide, &self.context())
}
@@ -2083,99 +2102,99 @@ impl<'a, T: Api> ApiNoContext for ContextWrapper<'a, T> {
sha256: Option<String>,
expand: Option<String>,
hide: Option<String>,
- ) -> Box<Future<Item = LookupFileResponse, Error = ApiError> + Send> {
+ ) -> Box<dyn Future<Item = LookupFileResponse, Error = ApiError> + Send> {
self.api().lookup_file(md5, sha1, sha256, expand, hide, &self.context())
}
- fn update_file(&self, editgroup_id: String, ident: String, entity: models::FileEntity) -> Box<Future<Item = UpdateFileResponse, Error = ApiError> + Send> {
+ fn update_file(&self, editgroup_id: String, ident: String, entity: models::FileEntity) -> Box<dyn Future<Item = UpdateFileResponse, Error = ApiError> + Send> {
self.api().update_file(editgroup_id, ident, entity, &self.context())
}
- fn create_fileset(&self, editgroup_id: String, entity: models::FilesetEntity) -> Box<Future<Item = CreateFilesetResponse, Error = ApiError> + Send> {
+ fn create_fileset(&self, editgroup_id: String, entity: models::FilesetEntity) -> Box<dyn Future<Item = CreateFilesetResponse, Error = ApiError> + Send> {
self.api().create_fileset(editgroup_id, entity, &self.context())
}
- fn create_fileset_auto_batch(&self, auto_batch: models::FilesetAutoBatch) -> Box<Future<Item = CreateFilesetAutoBatchResponse, Error = ApiError> + Send> {
+ fn create_fileset_auto_batch(&self, auto_batch: models::FilesetAutoBatch) -> Box<dyn Future<Item = CreateFilesetAutoBatchResponse, Error = ApiError> + Send> {
self.api().create_fileset_auto_batch(auto_batch, &self.context())
}
- fn delete_fileset(&self, editgroup_id: String, ident: String) -> Box<Future<Item = DeleteFilesetResponse, Error = ApiError> + Send> {
+ fn delete_fileset(&self, editgroup_id: String, ident: String) -> Box<dyn Future<Item = DeleteFilesetResponse, Error = ApiError> + Send> {
self.api().delete_fileset(editgroup_id, ident, &self.context())
}
- fn delete_fileset_edit(&self, editgroup_id: String, edit_id: String) -> Box<Future<Item = DeleteFilesetEditResponse, Error = ApiError> + Send> {
+ fn delete_fileset_edit(&self, editgroup_id: String, edit_id: String) -> Box<dyn Future<Item = DeleteFilesetEditResponse, Error = ApiError> + Send> {
self.api().delete_fileset_edit(editgroup_id, edit_id, &self.context())
}
- fn get_fileset(&self, ident: String, expand: Option<String>, hide: Option<String>) -> Box<Future<Item = GetFilesetResponse, Error = ApiError> + Send> {
+ fn get_fileset(&self, ident: String, expand: Option<String>, hide: Option<String>) -> Box<dyn Future<Item = GetFilesetResponse, Error = ApiError> + Send> {
self.api().get_fileset(ident, expand, hide, &self.context())
}
- fn get_fileset_edit(&self, edit_id: String) -> Box<Future<Item = GetFilesetEditResponse, Error = ApiError> + Send> {
+ fn get_fileset_edit(&self, edit_id: String) -> Box<dyn Future<Item = GetFilesetEditResponse, Error = ApiError> + Send> {
self.api().get_fileset_edit(edit_id, &self.context())
}
- fn get_fileset_history(&self, ident: String, limit: Option<i64>) -> Box<Future<Item = GetFilesetHistoryResponse, Error = ApiError> + Send> {
+ fn get_fileset_history(&self, ident: String, limit: Option<i64>) -> Box<dyn Future<Item = GetFilesetHistoryResponse, Error = ApiError> + Send> {
self.api().get_fileset_history(ident, limit, &self.context())
}
- fn get_fileset_redirects(&self, ident: String) -> Box<Future<Item = GetFilesetRedirectsResponse, Error = ApiError> + Send> {
+ fn get_fileset_redirects(&self, ident: String) -> Box<dyn Future<Item = GetFilesetRedirectsResponse, Error = ApiError> + Send> {
self.api().get_fileset_redirects(ident, &self.context())
}
- fn get_fileset_revision(&self, rev_id: String, expand: Option<String>, hide: Option<String>) -> Box<Future<Item = GetFilesetRevisionResponse, Error = ApiError> + Send> {
+ fn get_fileset_revision(&self, rev_id: String, expand: Option<String>, hide: Option<String>) -> Box<dyn Future<Item = GetFilesetRevisionResponse, Error = ApiError> + Send> {
self.api().get_fileset_revision(rev_id, expand, hide, &self.context())
}
- fn update_fileset(&self, editgroup_id: String, ident: String, entity: models::FilesetEntity) -> Box<Future<Item = UpdateFilesetResponse, Error = ApiError> + Send> {
+ fn update_fileset(&self, editgroup_id: String, ident: String, entity: models::FilesetEntity) -> Box<dyn Future<Item = UpdateFilesetResponse, Error = ApiError> + Send> {
self.api().update_fileset(editgroup_id, ident, entity, &self.context())
}
- fn create_release(&self, editgroup_id: String, entity: models::ReleaseEntity) -> Box<Future<Item = CreateReleaseResponse, Error = ApiError> + Send> {
+ fn create_release(&self, editgroup_id: String, entity: models::ReleaseEntity) -> Box<dyn Future<Item = CreateReleaseResponse, Error = ApiError> + Send> {
self.api().create_release(editgroup_id, entity, &self.context())
}
- fn create_release_auto_batch(&self, auto_batch: models::ReleaseAutoBatch) -> Box<Future<Item = CreateReleaseAutoBatchResponse, Error = ApiError> + Send> {
+ fn create_release_auto_batch(&self, auto_batch: models::ReleaseAutoBatch) -> Box<dyn Future<Item = CreateReleaseAutoBatchResponse, Error = ApiError> + Send> {
self.api().create_release_auto_batch(auto_batch, &self.context())
}
- fn delete_release(&self, editgroup_id: String, ident: String) -> Box<Future<Item = DeleteReleaseResponse, Error = ApiError> + Send> {
+ fn delete_release(&self, editgroup_id: String, ident: String) -> Box<dyn Future<Item = DeleteReleaseResponse, Error = ApiError> + Send> {
self.api().delete_release(editgroup_id, ident, &self.context())
}
- fn delete_release_edit(&self, editgroup_id: String, edit_id: String) -> Box<Future<Item = DeleteReleaseEditResponse, Error = ApiError> + Send> {
+ fn delete_release_edit(&self, editgroup_id: String, edit_id: String) -> Box<dyn Future<Item = DeleteReleaseEditResponse, Error = ApiError> + Send> {
self.api().delete_release_edit(editgroup_id, edit_id, &self.context())
}
- fn get_release(&self, ident: String, expand: Option<String>, hide: Option<String>) -> Box<Future<Item = GetReleaseResponse, Error = ApiError> + Send> {
+ fn get_release(&self, ident: String, expand: Option<String>, hide: Option<String>) -> Box<dyn Future<Item = GetReleaseResponse, Error = ApiError> + Send> {
self.api().get_release(ident, expand, hide, &self.context())
}
- fn get_release_edit(&self, edit_id: String) -> Box<Future<Item = GetReleaseEditResponse, Error = ApiError> + Send> {
+ fn get_release_edit(&self, edit_id: String) -> Box<dyn Future<Item = GetReleaseEditResponse, Error = ApiError> + Send> {
self.api().get_release_edit(edit_id, &self.context())
}
- fn get_release_files(&self, ident: String, hide: Option<String>) -> Box<Future<Item = GetReleaseFilesResponse, Error = ApiError> + Send> {
+ fn get_release_files(&self, ident: String, hide: Option<String>) -> Box<dyn Future<Item = GetReleaseFilesResponse, Error = ApiError> + Send> {
self.api().get_release_files(ident, hide, &self.context())
}
- fn get_release_filesets(&self, ident: String, hide: Option<String>) -> Box<Future<Item = GetReleaseFilesetsResponse, Error = ApiError> + Send> {
+ fn get_release_filesets(&self, ident: String, hide: Option<String>) -> Box<dyn Future<Item = GetReleaseFilesetsResponse, Error = ApiError> + Send> {
self.api().get_release_filesets(ident, hide, &self.context())
}
- fn get_release_history(&self, ident: String, limit: Option<i64>) -> Box<Future<Item = GetReleaseHistoryResponse, Error = ApiError> + Send> {
+ fn get_release_history(&self, ident: String, limit: Option<i64>) -> Box<dyn Future<Item = GetReleaseHistoryResponse, Error = ApiError> + Send> {
self.api().get_release_history(ident, limit, &self.context())
}
- fn get_release_redirects(&self, ident: String) -> Box<Future<Item = GetReleaseRedirectsResponse, Error = ApiError> + Send> {
+ fn get_release_redirects(&self, ident: String) -> Box<dyn Future<Item = GetReleaseRedirectsResponse, Error = ApiError> + Send> {
self.api().get_release_redirects(ident, &self.context())
}
- fn get_release_revision(&self, rev_id: String, expand: Option<String>, hide: Option<String>) -> Box<Future<Item = GetReleaseRevisionResponse, Error = ApiError> + Send> {
+ fn get_release_revision(&self, rev_id: String, expand: Option<String>, hide: Option<String>) -> Box<dyn Future<Item = GetReleaseRevisionResponse, Error = ApiError> + Send> {
self.api().get_release_revision(rev_id, expand, hide, &self.context())
}
- fn get_release_webcaptures(&self, ident: String, hide: Option<String>) -> Box<Future<Item = GetReleaseWebcapturesResponse, Error = ApiError> + Send> {
+ fn get_release_webcaptures(&self, ident: String, hide: Option<String>) -> Box<dyn Future<Item = GetReleaseWebcapturesResponse, Error = ApiError> + Send> {
self.api().get_release_webcaptures(ident, hide, &self.context())
}
@@ -2193,96 +2212,96 @@ impl<'a, T: Api> ApiNoContext for ContextWrapper<'a, T> {
mag: Option<String>,
expand: Option<String>,
hide: Option<String>,
- ) -> Box<Future<Item = LookupReleaseResponse, Error = ApiError> + Send> {
+ ) -> Box<dyn Future<Item = LookupReleaseResponse, Error = ApiError> + Send> {
self.api()
.lookup_release(doi, wikidata_qid, isbn13, pmid, pmcid, core, arxiv, jstor, ark, mag, expand, hide, &self.context())
}
- fn update_release(&self, editgroup_id: String, ident: String, entity: models::ReleaseEntity) -> Box<Future<Item = UpdateReleaseResponse, Error = ApiError> + Send> {
+ fn update_release(&self, editgroup_id: String, ident: String, entity: models::ReleaseEntity) -> Box<dyn Future<Item = UpdateReleaseResponse, Error = ApiError> + Send> {
self.api().update_release(editgroup_id, ident, entity, &self.context())
}
- fn create_webcapture(&self, editgroup_id: String, entity: models::WebcaptureEntity) -> Box<Future<Item = CreateWebcaptureResponse, Error = ApiError> + Send> {
+ fn create_webcapture(&self, editgroup_id: String, entity: models::WebcaptureEntity) -> Box<dyn Future<Item = CreateWebcaptureResponse, Error = ApiError> + Send> {
self.api().create_webcapture(editgroup_id, entity, &self.context())
}
- fn create_webcapture_auto_batch(&self, auto_batch: models::WebcaptureAutoBatch) -> Box<Future<Item = CreateWebcaptureAutoBatchResponse, Error = ApiError> + Send> {
+ fn create_webcapture_auto_batch(&self, auto_batch: models::WebcaptureAutoBatch) -> Box<dyn Future<Item = CreateWebcaptureAutoBatchResponse, Error = ApiError> + Send> {
self.api().create_webcapture_auto_batch(auto_batch, &self.context())
}
- fn delete_webcapture(&self, editgroup_id: String, ident: String) -> Box<Future<Item = DeleteWebcaptureResponse, Error = ApiError> + Send> {
+ fn delete_webcapture(&self, editgroup_id: String, ident: String) -> Box<dyn Future<Item = DeleteWebcaptureResponse, Error = ApiError> + Send> {
self.api().delete_webcapture(editgroup_id, ident, &self.context())
}
- fn delete_webcapture_edit(&self, editgroup_id: String, edit_id: String) -> Box<Future<Item = DeleteWebcaptureEditResponse, Error = ApiError> + Send> {
+ fn delete_webcapture_edit(&self, editgroup_id: String, edit_id: String) -> Box<dyn Future<Item = DeleteWebcaptureEditResponse, Error = ApiError> + Send> {
self.api().delete_webcapture_edit(editgroup_id, edit_id, &self.context())
}
- fn get_webcapture(&self, ident: String, expand: Option<String>, hide: Option<String>) -> Box<Future<Item = GetWebcaptureResponse, Error = ApiError> + Send> {
+ fn get_webcapture(&self, ident: String, expand: Option<String>, hide: Option<String>) -> Box<dyn Future<Item = GetWebcaptureResponse, Error = ApiError> + Send> {
self.api().get_webcapture(ident, expand, hide, &self.context())
}
- fn get_webcapture_edit(&self, edit_id: String) -> Box<Future<Item = GetWebcaptureEditResponse, Error = ApiError> + Send> {
+ fn get_webcapture_edit(&self, edit_id: String) -> Box<dyn Future<Item = GetWebcaptureEditResponse, Error = ApiError> + Send> {
self.api().get_webcapture_edit(edit_id, &self.context())
}
- fn get_webcapture_history(&self, ident: String, limit: Option<i64>) -> Box<Future<Item = GetWebcaptureHistoryResponse, Error = ApiError> + Send> {
+ fn get_webcapture_history(&self, ident: String, limit: Option<i64>) -> Box<dyn Future<Item = GetWebcaptureHistoryResponse, Error = ApiError> + Send> {
self.api().get_webcapture_history(ident, limit, &self.context())
}
- fn get_webcapture_redirects(&self, ident: String) -> Box<Future<Item = GetWebcaptureRedirectsResponse, Error = ApiError> + Send> {
+ fn get_webcapture_redirects(&self, ident: String) -> Box<dyn Future<Item = GetWebcaptureRedirectsResponse, Error = ApiError> + Send> {
self.api().get_webcapture_redirects(ident, &self.context())
}
- fn get_webcapture_revision(&self, rev_id: String, expand: Option<String>, hide: Option<String>) -> Box<Future<Item = GetWebcaptureRevisionResponse, Error = ApiError> + Send> {
+ fn get_webcapture_revision(&self, rev_id: String, expand: Option<String>, hide: Option<String>) -> Box<dyn Future<Item = GetWebcaptureRevisionResponse, Error = ApiError> + Send> {
self.api().get_webcapture_revision(rev_id, expand, hide, &self.context())
}
- fn update_webcapture(&self, editgroup_id: String, ident: String, entity: models::WebcaptureEntity) -> Box<Future<Item = UpdateWebcaptureResponse, Error = ApiError> + Send> {
+ fn update_webcapture(&self, editgroup_id: String, ident: String, entity: models::WebcaptureEntity) -> Box<dyn Future<Item = UpdateWebcaptureResponse, Error = ApiError> + Send> {
self.api().update_webcapture(editgroup_id, ident, entity, &self.context())
}
- fn create_work(&self, editgroup_id: String, entity: models::WorkEntity) -> Box<Future<Item = CreateWorkResponse, Error = ApiError> + Send> {
+ fn create_work(&self, editgroup_id: String, entity: models::WorkEntity) -> Box<dyn Future<Item = CreateWorkResponse, Error = ApiError> + Send> {
self.api().create_work(editgroup_id, entity, &self.context())
}
- fn create_work_auto_batch(&self, auto_batch: models::WorkAutoBatch) -> Box<Future<Item = CreateWorkAutoBatchResponse, Error = ApiError> + Send> {
+ fn create_work_auto_batch(&self, auto_batch: models::WorkAutoBatch) -> Box<dyn Future<Item = CreateWorkAutoBatchResponse, Error = ApiError> + Send> {
self.api().create_work_auto_batch(auto_batch, &self.context())
}
- fn delete_work(&self, editgroup_id: String, ident: String) -> Box<Future<Item = DeleteWorkResponse, Error = ApiError> + Send> {
+ fn delete_work(&self, editgroup_id: String, ident: String) -> Box<dyn Future<Item = DeleteWorkResponse, Error = ApiError> + Send> {
self.api().delete_work(editgroup_id, ident, &self.context())
}
- fn delete_work_edit(&self, editgroup_id: String, edit_id: String) -> Box<Future<Item = DeleteWorkEditResponse, Error = ApiError> + Send> {
+ fn delete_work_edit(&self, editgroup_id: String, edit_id: String) -> Box<dyn Future<Item = DeleteWorkEditResponse, Error = ApiError> + Send> {
self.api().delete_work_edit(editgroup_id, edit_id, &self.context())
}
- fn get_work(&self, ident: String, expand: Option<String>, hide: Option<String>) -> Box<Future<Item = GetWorkResponse, Error = ApiError> + Send> {
+ fn get_work(&self, ident: String, expand: Option<String>, hide: Option<String>) -> Box<dyn Future<Item = GetWorkResponse, Error = ApiError> + Send> {
self.api().get_work(ident, expand, hide, &self.context())
}
- fn get_work_edit(&self, edit_id: String) -> Box<Future<Item = GetWorkEditResponse, Error = ApiError> + Send> {
+ fn get_work_edit(&self, edit_id: String) -> Box<dyn Future<Item = GetWorkEditResponse, Error = ApiError> + Send> {
self.api().get_work_edit(edit_id, &self.context())
}
- fn get_work_history(&self, ident: String, limit: Option<i64>) -> Box<Future<Item = GetWorkHistoryResponse, Error = ApiError> + Send> {
+ fn get_work_history(&self, ident: String, limit: Option<i64>) -> Box<dyn Future<Item = GetWorkHistoryResponse, Error = ApiError> + Send> {
self.api().get_work_history(ident, limit, &self.context())
}
- fn get_work_redirects(&self, ident: String) -> Box<Future<Item = GetWorkRedirectsResponse, Error = ApiError> + Send> {
+ fn get_work_redirects(&self, ident: String) -> Box<dyn Future<Item = GetWorkRedirectsResponse, Error = ApiError> + Send> {
self.api().get_work_redirects(ident, &self.context())
}
- fn get_work_releases(&self, ident: String, hide: Option<String>) -> Box<Future<Item = GetWorkReleasesResponse, Error = ApiError> + Send> {
+ fn get_work_releases(&self, ident: String, hide: Option<String>) -> Box<dyn Future<Item = GetWorkReleasesResponse, Error = ApiError> + Send> {
self.api().get_work_releases(ident, hide, &self.context())
}
- fn get_work_revision(&self, rev_id: String, expand: Option<String>, hide: Option<String>) -> Box<Future<Item = GetWorkRevisionResponse, Error = ApiError> + Send> {
+ fn get_work_revision(&self, rev_id: String, expand: Option<String>, hide: Option<String>) -> Box<dyn Future<Item = GetWorkRevisionResponse, Error = ApiError> + Send> {
self.api().get_work_revision(rev_id, expand, hide, &self.context())
}
- fn update_work(&self, editgroup_id: String, ident: String, entity: models::WorkEntity) -> Box<Future<Item = UpdateWorkResponse, Error = ApiError> + Send> {
+ fn update_work(&self, editgroup_id: String, ident: String, entity: models::WorkEntity) -> Box<dyn Future<Item = UpdateWorkResponse, Error = ApiError> + Send> {
self.api().update_work(editgroup_id, ident, entity, &self.context())
}
}
diff --git a/rust/fatcat-openapi/src/mimetypes.rs b/rust/fatcat-openapi/src/mimetypes.rs
index 51ff326e..13c4ccbe 100644
--- a/rust/fatcat-openapi/src/mimetypes.rs
+++ b/rust/fatcat-openapi/src/mimetypes.rs
@@ -4,1879 +4,1879 @@ pub mod responses {
use hyper::mime::*;
// The macro is called per-operation to beat the recursion limit
- /// Create Mime objects for the response content types for AuthCheck
+ // Create Mime objects for the response content types for AuthCheck
lazy_static! {
pub static ref AUTH_CHECK_SUCCESS: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for AuthCheck
+ // Create Mime objects for the response content types for AuthCheck
lazy_static! {
pub static ref AUTH_CHECK_BAD_REQUEST: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for AuthCheck
+ // Create Mime objects for the response content types for AuthCheck
lazy_static! {
pub static ref AUTH_CHECK_NOT_AUTHORIZED: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for AuthCheck
+ // Create Mime objects for the response content types for AuthCheck
lazy_static! {
pub static ref AUTH_CHECK_FORBIDDEN: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for AuthCheck
+ // Create Mime objects for the response content types for AuthCheck
lazy_static! {
pub static ref AUTH_CHECK_GENERIC_ERROR: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for AuthOidc
+ // Create Mime objects for the response content types for AuthOidc
lazy_static! {
pub static ref AUTH_OIDC_FOUND: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for AuthOidc
+ // Create Mime objects for the response content types for AuthOidc
lazy_static! {
pub static ref AUTH_OIDC_CREATED: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for AuthOidc
+ // Create Mime objects for the response content types for AuthOidc
lazy_static! {
pub static ref AUTH_OIDC_BAD_REQUEST: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for AuthOidc
+ // Create Mime objects for the response content types for AuthOidc
lazy_static! {
pub static ref AUTH_OIDC_NOT_AUTHORIZED: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for AuthOidc
+ // Create Mime objects for the response content types for AuthOidc
lazy_static! {
pub static ref AUTH_OIDC_FORBIDDEN: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for AuthOidc
+ // Create Mime objects for the response content types for AuthOidc
lazy_static! {
pub static ref AUTH_OIDC_CONFLICT: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for AuthOidc
+ // Create Mime objects for the response content types for AuthOidc
lazy_static! {
pub static ref AUTH_OIDC_GENERIC_ERROR: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for CreateAuthToken
+ // Create Mime objects for the response content types for CreateAuthToken
lazy_static! {
pub static ref CREATE_AUTH_TOKEN_SUCCESS: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for CreateAuthToken
+ // Create Mime objects for the response content types for CreateAuthToken
lazy_static! {
pub static ref CREATE_AUTH_TOKEN_BAD_REQUEST: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for CreateAuthToken
+ // Create Mime objects for the response content types for CreateAuthToken
lazy_static! {
pub static ref CREATE_AUTH_TOKEN_NOT_AUTHORIZED: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for CreateAuthToken
+ // Create Mime objects for the response content types for CreateAuthToken
lazy_static! {
pub static ref CREATE_AUTH_TOKEN_FORBIDDEN: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for CreateAuthToken
+ // Create Mime objects for the response content types for CreateAuthToken
lazy_static! {
pub static ref CREATE_AUTH_TOKEN_GENERIC_ERROR: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetChangelog
+ // Create Mime objects for the response content types for GetChangelog
lazy_static! {
pub static ref GET_CHANGELOG_SUCCESS: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetChangelog
+ // Create Mime objects for the response content types for GetChangelog
lazy_static! {
pub static ref GET_CHANGELOG_BAD_REQUEST: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetChangelog
+ // Create Mime objects for the response content types for GetChangelog
lazy_static! {
pub static ref GET_CHANGELOG_GENERIC_ERROR: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetChangelogEntry
+ // Create Mime objects for the response content types for GetChangelogEntry
lazy_static! {
pub static ref GET_CHANGELOG_ENTRY_FOUND_CHANGELOG_ENTRY: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetChangelogEntry
+ // Create Mime objects for the response content types for GetChangelogEntry
lazy_static! {
pub static ref GET_CHANGELOG_ENTRY_BAD_REQUEST: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetChangelogEntry
+ // Create Mime objects for the response content types for GetChangelogEntry
lazy_static! {
pub static ref GET_CHANGELOG_ENTRY_NOT_FOUND: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetChangelogEntry
+ // Create Mime objects for the response content types for GetChangelogEntry
lazy_static! {
pub static ref GET_CHANGELOG_ENTRY_GENERIC_ERROR: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for CreateContainer
+ // Create Mime objects for the response content types for CreateContainer
lazy_static! {
pub static ref CREATE_CONTAINER_CREATED_ENTITY: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for CreateContainer
+ // Create Mime objects for the response content types for CreateContainer
lazy_static! {
pub static ref CREATE_CONTAINER_BAD_REQUEST: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for CreateContainer
+ // Create Mime objects for the response content types for CreateContainer
lazy_static! {
pub static ref CREATE_CONTAINER_NOT_AUTHORIZED: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for CreateContainer
+ // Create Mime objects for the response content types for CreateContainer
lazy_static! {
pub static ref CREATE_CONTAINER_FORBIDDEN: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for CreateContainer
+ // Create Mime objects for the response content types for CreateContainer
lazy_static! {
pub static ref CREATE_CONTAINER_NOT_FOUND: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for CreateContainer
+ // Create Mime objects for the response content types for CreateContainer
lazy_static! {
pub static ref CREATE_CONTAINER_GENERIC_ERROR: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for CreateContainerAutoBatch
+ // Create Mime objects for the response content types for CreateContainerAutoBatch
lazy_static! {
pub static ref CREATE_CONTAINER_AUTO_BATCH_CREATED_EDITGROUP: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for CreateContainerAutoBatch
+ // Create Mime objects for the response content types for CreateContainerAutoBatch
lazy_static! {
pub static ref CREATE_CONTAINER_AUTO_BATCH_BAD_REQUEST: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for CreateContainerAutoBatch
+ // Create Mime objects for the response content types for CreateContainerAutoBatch
lazy_static! {
pub static ref CREATE_CONTAINER_AUTO_BATCH_NOT_AUTHORIZED: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for CreateContainerAutoBatch
+ // Create Mime objects for the response content types for CreateContainerAutoBatch
lazy_static! {
pub static ref CREATE_CONTAINER_AUTO_BATCH_FORBIDDEN: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for CreateContainerAutoBatch
+ // Create Mime objects for the response content types for CreateContainerAutoBatch
lazy_static! {
pub static ref CREATE_CONTAINER_AUTO_BATCH_NOT_FOUND: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for CreateContainerAutoBatch
+ // Create Mime objects for the response content types for CreateContainerAutoBatch
lazy_static! {
pub static ref CREATE_CONTAINER_AUTO_BATCH_GENERIC_ERROR: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for DeleteContainer
+ // Create Mime objects for the response content types for DeleteContainer
lazy_static! {
pub static ref DELETE_CONTAINER_DELETED_ENTITY: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for DeleteContainer
+ // Create Mime objects for the response content types for DeleteContainer
lazy_static! {
pub static ref DELETE_CONTAINER_BAD_REQUEST: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for DeleteContainer
+ // Create Mime objects for the response content types for DeleteContainer
lazy_static! {
pub static ref DELETE_CONTAINER_NOT_AUTHORIZED: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for DeleteContainer
+ // Create Mime objects for the response content types for DeleteContainer
lazy_static! {
pub static ref DELETE_CONTAINER_FORBIDDEN: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for DeleteContainer
+ // Create Mime objects for the response content types for DeleteContainer
lazy_static! {
pub static ref DELETE_CONTAINER_NOT_FOUND: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for DeleteContainer
+ // Create Mime objects for the response content types for DeleteContainer
lazy_static! {
pub static ref DELETE_CONTAINER_GENERIC_ERROR: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for DeleteContainerEdit
+ // Create Mime objects for the response content types for DeleteContainerEdit
lazy_static! {
pub static ref DELETE_CONTAINER_EDIT_DELETED_EDIT: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for DeleteContainerEdit
+ // Create Mime objects for the response content types for DeleteContainerEdit
lazy_static! {
pub static ref DELETE_CONTAINER_EDIT_BAD_REQUEST: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for DeleteContainerEdit
+ // Create Mime objects for the response content types for DeleteContainerEdit
lazy_static! {
pub static ref DELETE_CONTAINER_EDIT_NOT_AUTHORIZED: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for DeleteContainerEdit
+ // Create Mime objects for the response content types for DeleteContainerEdit
lazy_static! {
pub static ref DELETE_CONTAINER_EDIT_FORBIDDEN: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for DeleteContainerEdit
+ // Create Mime objects for the response content types for DeleteContainerEdit
lazy_static! {
pub static ref DELETE_CONTAINER_EDIT_NOT_FOUND: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for DeleteContainerEdit
+ // Create Mime objects for the response content types for DeleteContainerEdit
lazy_static! {
pub static ref DELETE_CONTAINER_EDIT_GENERIC_ERROR: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetContainer
+ // Create Mime objects for the response content types for GetContainer
lazy_static! {
pub static ref GET_CONTAINER_FOUND_ENTITY: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetContainer
+ // Create Mime objects for the response content types for GetContainer
lazy_static! {
pub static ref GET_CONTAINER_BAD_REQUEST: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetContainer
+ // Create Mime objects for the response content types for GetContainer
lazy_static! {
pub static ref GET_CONTAINER_NOT_FOUND: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetContainer
+ // Create Mime objects for the response content types for GetContainer
lazy_static! {
pub static ref GET_CONTAINER_GENERIC_ERROR: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetContainerEdit
+ // Create Mime objects for the response content types for GetContainerEdit
lazy_static! {
pub static ref GET_CONTAINER_EDIT_FOUND_EDIT: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetContainerEdit
+ // Create Mime objects for the response content types for GetContainerEdit
lazy_static! {
pub static ref GET_CONTAINER_EDIT_BAD_REQUEST: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetContainerEdit
+ // Create Mime objects for the response content types for GetContainerEdit
lazy_static! {
pub static ref GET_CONTAINER_EDIT_NOT_FOUND: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetContainerEdit
+ // Create Mime objects for the response content types for GetContainerEdit
lazy_static! {
pub static ref GET_CONTAINER_EDIT_GENERIC_ERROR: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetContainerHistory
+ // Create Mime objects for the response content types for GetContainerHistory
lazy_static! {
pub static ref GET_CONTAINER_HISTORY_FOUND_ENTITY_HISTORY: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetContainerHistory
+ // Create Mime objects for the response content types for GetContainerHistory
lazy_static! {
pub static ref GET_CONTAINER_HISTORY_BAD_REQUEST: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetContainerHistory
+ // Create Mime objects for the response content types for GetContainerHistory
lazy_static! {
pub static ref GET_CONTAINER_HISTORY_NOT_FOUND: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetContainerHistory
+ // Create Mime objects for the response content types for GetContainerHistory
lazy_static! {
pub static ref GET_CONTAINER_HISTORY_GENERIC_ERROR: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetContainerRedirects
+ // Create Mime objects for the response content types for GetContainerRedirects
lazy_static! {
pub static ref GET_CONTAINER_REDIRECTS_FOUND_ENTITY_REDIRECTS: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetContainerRedirects
+ // Create Mime objects for the response content types for GetContainerRedirects
lazy_static! {
pub static ref GET_CONTAINER_REDIRECTS_BAD_REQUEST: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetContainerRedirects
+ // Create Mime objects for the response content types for GetContainerRedirects
lazy_static! {
pub static ref GET_CONTAINER_REDIRECTS_NOT_FOUND: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetContainerRedirects
+ // Create Mime objects for the response content types for GetContainerRedirects
lazy_static! {
pub static ref GET_CONTAINER_REDIRECTS_GENERIC_ERROR: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetContainerRevision
+ // Create Mime objects for the response content types for GetContainerRevision
lazy_static! {
pub static ref GET_CONTAINER_REVISION_FOUND_ENTITY_REVISION: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetContainerRevision
+ // Create Mime objects for the response content types for GetContainerRevision
lazy_static! {
pub static ref GET_CONTAINER_REVISION_BAD_REQUEST: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetContainerRevision
+ // Create Mime objects for the response content types for GetContainerRevision
lazy_static! {
pub static ref GET_CONTAINER_REVISION_NOT_FOUND: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetContainerRevision
+ // Create Mime objects for the response content types for GetContainerRevision
lazy_static! {
pub static ref GET_CONTAINER_REVISION_GENERIC_ERROR: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for LookupContainer
+ // Create Mime objects for the response content types for LookupContainer
lazy_static! {
pub static ref LOOKUP_CONTAINER_FOUND_ENTITY: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for LookupContainer
+ // Create Mime objects for the response content types for LookupContainer
lazy_static! {
pub static ref LOOKUP_CONTAINER_BAD_REQUEST: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for LookupContainer
+ // Create Mime objects for the response content types for LookupContainer
lazy_static! {
pub static ref LOOKUP_CONTAINER_NOT_FOUND: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for LookupContainer
+ // Create Mime objects for the response content types for LookupContainer
lazy_static! {
pub static ref LOOKUP_CONTAINER_GENERIC_ERROR: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for UpdateContainer
+ // Create Mime objects for the response content types for UpdateContainer
lazy_static! {
pub static ref UPDATE_CONTAINER_UPDATED_ENTITY: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for UpdateContainer
+ // Create Mime objects for the response content types for UpdateContainer
lazy_static! {
pub static ref UPDATE_CONTAINER_BAD_REQUEST: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for UpdateContainer
+ // Create Mime objects for the response content types for UpdateContainer
lazy_static! {
pub static ref UPDATE_CONTAINER_NOT_AUTHORIZED: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for UpdateContainer
+ // Create Mime objects for the response content types for UpdateContainer
lazy_static! {
pub static ref UPDATE_CONTAINER_FORBIDDEN: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for UpdateContainer
+ // Create Mime objects for the response content types for UpdateContainer
lazy_static! {
pub static ref UPDATE_CONTAINER_NOT_FOUND: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for UpdateContainer
+ // Create Mime objects for the response content types for UpdateContainer
lazy_static! {
pub static ref UPDATE_CONTAINER_GENERIC_ERROR: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for CreateCreator
+ // Create Mime objects for the response content types for CreateCreator
lazy_static! {
pub static ref CREATE_CREATOR_CREATED_ENTITY: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for CreateCreator
+ // Create Mime objects for the response content types for CreateCreator
lazy_static! {
pub static ref CREATE_CREATOR_BAD_REQUEST: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for CreateCreator
+ // Create Mime objects for the response content types for CreateCreator
lazy_static! {
pub static ref CREATE_CREATOR_NOT_AUTHORIZED: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for CreateCreator
+ // Create Mime objects for the response content types for CreateCreator
lazy_static! {
pub static ref CREATE_CREATOR_FORBIDDEN: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for CreateCreator
+ // Create Mime objects for the response content types for CreateCreator
lazy_static! {
pub static ref CREATE_CREATOR_NOT_FOUND: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for CreateCreator
+ // Create Mime objects for the response content types for CreateCreator
lazy_static! {
pub static ref CREATE_CREATOR_GENERIC_ERROR: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for CreateCreatorAutoBatch
+ // Create Mime objects for the response content types for CreateCreatorAutoBatch
lazy_static! {
pub static ref CREATE_CREATOR_AUTO_BATCH_CREATED_EDITGROUP: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for CreateCreatorAutoBatch
+ // Create Mime objects for the response content types for CreateCreatorAutoBatch
lazy_static! {
pub static ref CREATE_CREATOR_AUTO_BATCH_BAD_REQUEST: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for CreateCreatorAutoBatch
+ // Create Mime objects for the response content types for CreateCreatorAutoBatch
lazy_static! {
pub static ref CREATE_CREATOR_AUTO_BATCH_NOT_AUTHORIZED: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for CreateCreatorAutoBatch
+ // Create Mime objects for the response content types for CreateCreatorAutoBatch
lazy_static! {
pub static ref CREATE_CREATOR_AUTO_BATCH_FORBIDDEN: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for CreateCreatorAutoBatch
+ // Create Mime objects for the response content types for CreateCreatorAutoBatch
lazy_static! {
pub static ref CREATE_CREATOR_AUTO_BATCH_NOT_FOUND: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for CreateCreatorAutoBatch
+ // Create Mime objects for the response content types for CreateCreatorAutoBatch
lazy_static! {
pub static ref CREATE_CREATOR_AUTO_BATCH_GENERIC_ERROR: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for DeleteCreator
+ // Create Mime objects for the response content types for DeleteCreator
lazy_static! {
pub static ref DELETE_CREATOR_DELETED_ENTITY: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for DeleteCreator
+ // Create Mime objects for the response content types for DeleteCreator
lazy_static! {
pub static ref DELETE_CREATOR_BAD_REQUEST: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for DeleteCreator
+ // Create Mime objects for the response content types for DeleteCreator
lazy_static! {
pub static ref DELETE_CREATOR_NOT_AUTHORIZED: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for DeleteCreator
+ // Create Mime objects for the response content types for DeleteCreator
lazy_static! {
pub static ref DELETE_CREATOR_FORBIDDEN: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for DeleteCreator
+ // Create Mime objects for the response content types for DeleteCreator
lazy_static! {
pub static ref DELETE_CREATOR_NOT_FOUND: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for DeleteCreator
+ // Create Mime objects for the response content types for DeleteCreator
lazy_static! {
pub static ref DELETE_CREATOR_GENERIC_ERROR: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for DeleteCreatorEdit
+ // Create Mime objects for the response content types for DeleteCreatorEdit
lazy_static! {
pub static ref DELETE_CREATOR_EDIT_DELETED_EDIT: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for DeleteCreatorEdit
+ // Create Mime objects for the response content types for DeleteCreatorEdit
lazy_static! {
pub static ref DELETE_CREATOR_EDIT_BAD_REQUEST: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for DeleteCreatorEdit
+ // Create Mime objects for the response content types for DeleteCreatorEdit
lazy_static! {
pub static ref DELETE_CREATOR_EDIT_NOT_AUTHORIZED: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for DeleteCreatorEdit
+ // Create Mime objects for the response content types for DeleteCreatorEdit
lazy_static! {
pub static ref DELETE_CREATOR_EDIT_FORBIDDEN: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for DeleteCreatorEdit
+ // Create Mime objects for the response content types for DeleteCreatorEdit
lazy_static! {
pub static ref DELETE_CREATOR_EDIT_NOT_FOUND: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for DeleteCreatorEdit
+ // Create Mime objects for the response content types for DeleteCreatorEdit
lazy_static! {
pub static ref DELETE_CREATOR_EDIT_GENERIC_ERROR: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetCreator
+ // Create Mime objects for the response content types for GetCreator
lazy_static! {
pub static ref GET_CREATOR_FOUND_ENTITY: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetCreator
+ // Create Mime objects for the response content types for GetCreator
lazy_static! {
pub static ref GET_CREATOR_BAD_REQUEST: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetCreator
+ // Create Mime objects for the response content types for GetCreator
lazy_static! {
pub static ref GET_CREATOR_NOT_FOUND: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetCreator
+ // Create Mime objects for the response content types for GetCreator
lazy_static! {
pub static ref GET_CREATOR_GENERIC_ERROR: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetCreatorEdit
+ // Create Mime objects for the response content types for GetCreatorEdit
lazy_static! {
pub static ref GET_CREATOR_EDIT_FOUND_EDIT: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetCreatorEdit
+ // Create Mime objects for the response content types for GetCreatorEdit
lazy_static! {
pub static ref GET_CREATOR_EDIT_BAD_REQUEST: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetCreatorEdit
+ // Create Mime objects for the response content types for GetCreatorEdit
lazy_static! {
pub static ref GET_CREATOR_EDIT_NOT_FOUND: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetCreatorEdit
+ // Create Mime objects for the response content types for GetCreatorEdit
lazy_static! {
pub static ref GET_CREATOR_EDIT_GENERIC_ERROR: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetCreatorHistory
+ // Create Mime objects for the response content types for GetCreatorHistory
lazy_static! {
pub static ref GET_CREATOR_HISTORY_FOUND_ENTITY_HISTORY: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetCreatorHistory
+ // Create Mime objects for the response content types for GetCreatorHistory
lazy_static! {
pub static ref GET_CREATOR_HISTORY_BAD_REQUEST: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetCreatorHistory
+ // Create Mime objects for the response content types for GetCreatorHistory
lazy_static! {
pub static ref GET_CREATOR_HISTORY_NOT_FOUND: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetCreatorHistory
+ // Create Mime objects for the response content types for GetCreatorHistory
lazy_static! {
pub static ref GET_CREATOR_HISTORY_GENERIC_ERROR: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetCreatorRedirects
+ // Create Mime objects for the response content types for GetCreatorRedirects
lazy_static! {
pub static ref GET_CREATOR_REDIRECTS_FOUND_ENTITY_REDIRECTS: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetCreatorRedirects
+ // Create Mime objects for the response content types for GetCreatorRedirects
lazy_static! {
pub static ref GET_CREATOR_REDIRECTS_BAD_REQUEST: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetCreatorRedirects
+ // Create Mime objects for the response content types for GetCreatorRedirects
lazy_static! {
pub static ref GET_CREATOR_REDIRECTS_NOT_FOUND: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetCreatorRedirects
+ // Create Mime objects for the response content types for GetCreatorRedirects
lazy_static! {
pub static ref GET_CREATOR_REDIRECTS_GENERIC_ERROR: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetCreatorReleases
+ // Create Mime objects for the response content types for GetCreatorReleases
lazy_static! {
pub static ref GET_CREATOR_RELEASES_FOUND: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetCreatorReleases
+ // Create Mime objects for the response content types for GetCreatorReleases
lazy_static! {
pub static ref GET_CREATOR_RELEASES_BAD_REQUEST: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetCreatorReleases
+ // Create Mime objects for the response content types for GetCreatorReleases
lazy_static! {
pub static ref GET_CREATOR_RELEASES_NOT_FOUND: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetCreatorReleases
+ // Create Mime objects for the response content types for GetCreatorReleases
lazy_static! {
pub static ref GET_CREATOR_RELEASES_GENERIC_ERROR: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetCreatorRevision
+ // Create Mime objects for the response content types for GetCreatorRevision
lazy_static! {
pub static ref GET_CREATOR_REVISION_FOUND_ENTITY_REVISION: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetCreatorRevision
+ // Create Mime objects for the response content types for GetCreatorRevision
lazy_static! {
pub static ref GET_CREATOR_REVISION_BAD_REQUEST: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetCreatorRevision
+ // Create Mime objects for the response content types for GetCreatorRevision
lazy_static! {
pub static ref GET_CREATOR_REVISION_NOT_FOUND: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetCreatorRevision
+ // Create Mime objects for the response content types for GetCreatorRevision
lazy_static! {
pub static ref GET_CREATOR_REVISION_GENERIC_ERROR: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for LookupCreator
+ // Create Mime objects for the response content types for LookupCreator
lazy_static! {
pub static ref LOOKUP_CREATOR_FOUND_ENTITY: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for LookupCreator
+ // Create Mime objects for the response content types for LookupCreator
lazy_static! {
pub static ref LOOKUP_CREATOR_BAD_REQUEST: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for LookupCreator
+ // Create Mime objects for the response content types for LookupCreator
lazy_static! {
pub static ref LOOKUP_CREATOR_NOT_FOUND: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for LookupCreator
+ // Create Mime objects for the response content types for LookupCreator
lazy_static! {
pub static ref LOOKUP_CREATOR_GENERIC_ERROR: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for UpdateCreator
+ // Create Mime objects for the response content types for UpdateCreator
lazy_static! {
pub static ref UPDATE_CREATOR_UPDATED_ENTITY: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for UpdateCreator
+ // Create Mime objects for the response content types for UpdateCreator
lazy_static! {
pub static ref UPDATE_CREATOR_BAD_REQUEST: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for UpdateCreator
+ // Create Mime objects for the response content types for UpdateCreator
lazy_static! {
pub static ref UPDATE_CREATOR_NOT_AUTHORIZED: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for UpdateCreator
+ // Create Mime objects for the response content types for UpdateCreator
lazy_static! {
pub static ref UPDATE_CREATOR_FORBIDDEN: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for UpdateCreator
+ // Create Mime objects for the response content types for UpdateCreator
lazy_static! {
pub static ref UPDATE_CREATOR_NOT_FOUND: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for UpdateCreator
+ // Create Mime objects for the response content types for UpdateCreator
lazy_static! {
pub static ref UPDATE_CREATOR_GENERIC_ERROR: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for AcceptEditgroup
+ // Create Mime objects for the response content types for AcceptEditgroup
lazy_static! {
pub static ref ACCEPT_EDITGROUP_MERGED_SUCCESSFULLY: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for AcceptEditgroup
+ // Create Mime objects for the response content types for AcceptEditgroup
lazy_static! {
pub static ref ACCEPT_EDITGROUP_BAD_REQUEST: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for AcceptEditgroup
+ // Create Mime objects for the response content types for AcceptEditgroup
lazy_static! {
pub static ref ACCEPT_EDITGROUP_NOT_AUTHORIZED: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for AcceptEditgroup
+ // Create Mime objects for the response content types for AcceptEditgroup
lazy_static! {
pub static ref ACCEPT_EDITGROUP_FORBIDDEN: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for AcceptEditgroup
+ // Create Mime objects for the response content types for AcceptEditgroup
lazy_static! {
pub static ref ACCEPT_EDITGROUP_NOT_FOUND: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for AcceptEditgroup
+ // Create Mime objects for the response content types for AcceptEditgroup
lazy_static! {
pub static ref ACCEPT_EDITGROUP_EDIT_CONFLICT: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for AcceptEditgroup
+ // Create Mime objects for the response content types for AcceptEditgroup
lazy_static! {
pub static ref ACCEPT_EDITGROUP_GENERIC_ERROR: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for CreateEditgroup
+ // Create Mime objects for the response content types for CreateEditgroup
lazy_static! {
pub static ref CREATE_EDITGROUP_SUCCESSFULLY_CREATED: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for CreateEditgroup
+ // Create Mime objects for the response content types for CreateEditgroup
lazy_static! {
pub static ref CREATE_EDITGROUP_BAD_REQUEST: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for CreateEditgroup
+ // Create Mime objects for the response content types for CreateEditgroup
lazy_static! {
pub static ref CREATE_EDITGROUP_NOT_AUTHORIZED: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for CreateEditgroup
+ // Create Mime objects for the response content types for CreateEditgroup
lazy_static! {
pub static ref CREATE_EDITGROUP_FORBIDDEN: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for CreateEditgroup
+ // Create Mime objects for the response content types for CreateEditgroup
lazy_static! {
pub static ref CREATE_EDITGROUP_NOT_FOUND: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for CreateEditgroup
+ // Create Mime objects for the response content types for CreateEditgroup
lazy_static! {
pub static ref CREATE_EDITGROUP_GENERIC_ERROR: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for CreateEditgroupAnnotation
+ // Create Mime objects for the response content types for CreateEditgroupAnnotation
lazy_static! {
pub static ref CREATE_EDITGROUP_ANNOTATION_CREATED: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for CreateEditgroupAnnotation
+ // Create Mime objects for the response content types for CreateEditgroupAnnotation
lazy_static! {
pub static ref CREATE_EDITGROUP_ANNOTATION_BAD_REQUEST: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for CreateEditgroupAnnotation
+ // Create Mime objects for the response content types for CreateEditgroupAnnotation
lazy_static! {
pub static ref CREATE_EDITGROUP_ANNOTATION_NOT_AUTHORIZED: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for CreateEditgroupAnnotation
+ // Create Mime objects for the response content types for CreateEditgroupAnnotation
lazy_static! {
pub static ref CREATE_EDITGROUP_ANNOTATION_FORBIDDEN: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for CreateEditgroupAnnotation
+ // Create Mime objects for the response content types for CreateEditgroupAnnotation
lazy_static! {
pub static ref CREATE_EDITGROUP_ANNOTATION_NOT_FOUND: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for CreateEditgroupAnnotation
+ // Create Mime objects for the response content types for CreateEditgroupAnnotation
lazy_static! {
pub static ref CREATE_EDITGROUP_ANNOTATION_GENERIC_ERROR: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetEditgroup
+ // Create Mime objects for the response content types for GetEditgroup
lazy_static! {
pub static ref GET_EDITGROUP_FOUND: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetEditgroup
+ // Create Mime objects for the response content types for GetEditgroup
lazy_static! {
pub static ref GET_EDITGROUP_BAD_REQUEST: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetEditgroup
+ // Create Mime objects for the response content types for GetEditgroup
lazy_static! {
pub static ref GET_EDITGROUP_NOT_FOUND: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetEditgroup
+ // Create Mime objects for the response content types for GetEditgroup
lazy_static! {
pub static ref GET_EDITGROUP_GENERIC_ERROR: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetEditgroupAnnotations
+ // Create Mime objects for the response content types for GetEditgroupAnnotations
lazy_static! {
pub static ref GET_EDITGROUP_ANNOTATIONS_SUCCESS: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetEditgroupAnnotations
+ // Create Mime objects for the response content types for GetEditgroupAnnotations
lazy_static! {
pub static ref GET_EDITGROUP_ANNOTATIONS_BAD_REQUEST: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetEditgroupAnnotations
+ // Create Mime objects for the response content types for GetEditgroupAnnotations
lazy_static! {
pub static ref GET_EDITGROUP_ANNOTATIONS_NOT_AUTHORIZED: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetEditgroupAnnotations
+ // Create Mime objects for the response content types for GetEditgroupAnnotations
lazy_static! {
pub static ref GET_EDITGROUP_ANNOTATIONS_FORBIDDEN: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetEditgroupAnnotations
+ // Create Mime objects for the response content types for GetEditgroupAnnotations
lazy_static! {
pub static ref GET_EDITGROUP_ANNOTATIONS_NOT_FOUND: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetEditgroupAnnotations
+ // Create Mime objects for the response content types for GetEditgroupAnnotations
lazy_static! {
pub static ref GET_EDITGROUP_ANNOTATIONS_GENERIC_ERROR: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetEditgroupsReviewable
+ // Create Mime objects for the response content types for GetEditgroupsReviewable
lazy_static! {
pub static ref GET_EDITGROUPS_REVIEWABLE_FOUND: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetEditgroupsReviewable
+ // Create Mime objects for the response content types for GetEditgroupsReviewable
lazy_static! {
pub static ref GET_EDITGROUPS_REVIEWABLE_BAD_REQUEST: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetEditgroupsReviewable
+ // Create Mime objects for the response content types for GetEditgroupsReviewable
lazy_static! {
pub static ref GET_EDITGROUPS_REVIEWABLE_NOT_FOUND: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetEditgroupsReviewable
+ // Create Mime objects for the response content types for GetEditgroupsReviewable
lazy_static! {
pub static ref GET_EDITGROUPS_REVIEWABLE_GENERIC_ERROR: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for UpdateEditgroup
+ // Create Mime objects for the response content types for UpdateEditgroup
lazy_static! {
pub static ref UPDATE_EDITGROUP_UPDATED_EDITGROUP: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for UpdateEditgroup
+ // Create Mime objects for the response content types for UpdateEditgroup
lazy_static! {
pub static ref UPDATE_EDITGROUP_BAD_REQUEST: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for UpdateEditgroup
+ // Create Mime objects for the response content types for UpdateEditgroup
lazy_static! {
pub static ref UPDATE_EDITGROUP_NOT_AUTHORIZED: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for UpdateEditgroup
+ // Create Mime objects for the response content types for UpdateEditgroup
lazy_static! {
pub static ref UPDATE_EDITGROUP_FORBIDDEN: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for UpdateEditgroup
+ // Create Mime objects for the response content types for UpdateEditgroup
lazy_static! {
pub static ref UPDATE_EDITGROUP_NOT_FOUND: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for UpdateEditgroup
+ // Create Mime objects for the response content types for UpdateEditgroup
lazy_static! {
pub static ref UPDATE_EDITGROUP_GENERIC_ERROR: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetEditor
+ // Create Mime objects for the response content types for GetEditor
lazy_static! {
pub static ref GET_EDITOR_FOUND: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetEditor
+ // Create Mime objects for the response content types for GetEditor
lazy_static! {
pub static ref GET_EDITOR_BAD_REQUEST: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetEditor
+ // Create Mime objects for the response content types for GetEditor
lazy_static! {
pub static ref GET_EDITOR_NOT_FOUND: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetEditor
+ // Create Mime objects for the response content types for GetEditor
lazy_static! {
pub static ref GET_EDITOR_GENERIC_ERROR: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetEditorAnnotations
+ // Create Mime objects for the response content types for GetEditorAnnotations
lazy_static! {
pub static ref GET_EDITOR_ANNOTATIONS_SUCCESS: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetEditorAnnotations
+ // Create Mime objects for the response content types for GetEditorAnnotations
lazy_static! {
pub static ref GET_EDITOR_ANNOTATIONS_BAD_REQUEST: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetEditorAnnotations
+ // Create Mime objects for the response content types for GetEditorAnnotations
lazy_static! {
pub static ref GET_EDITOR_ANNOTATIONS_NOT_AUTHORIZED: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetEditorAnnotations
+ // Create Mime objects for the response content types for GetEditorAnnotations
lazy_static! {
pub static ref GET_EDITOR_ANNOTATIONS_FORBIDDEN: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetEditorAnnotations
+ // Create Mime objects for the response content types for GetEditorAnnotations
lazy_static! {
pub static ref GET_EDITOR_ANNOTATIONS_NOT_FOUND: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetEditorAnnotations
+ // Create Mime objects for the response content types for GetEditorAnnotations
lazy_static! {
pub static ref GET_EDITOR_ANNOTATIONS_GENERIC_ERROR: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetEditorEditgroups
+ // Create Mime objects for the response content types for GetEditorEditgroups
lazy_static! {
pub static ref GET_EDITOR_EDITGROUPS_FOUND: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetEditorEditgroups
+ // Create Mime objects for the response content types for GetEditorEditgroups
lazy_static! {
pub static ref GET_EDITOR_EDITGROUPS_BAD_REQUEST: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetEditorEditgroups
+ // Create Mime objects for the response content types for GetEditorEditgroups
lazy_static! {
pub static ref GET_EDITOR_EDITGROUPS_NOT_FOUND: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetEditorEditgroups
+ // Create Mime objects for the response content types for GetEditorEditgroups
lazy_static! {
pub static ref GET_EDITOR_EDITGROUPS_GENERIC_ERROR: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for UpdateEditor
+ // Create Mime objects for the response content types for UpdateEditor
lazy_static! {
pub static ref UPDATE_EDITOR_UPDATED_EDITOR: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for UpdateEditor
+ // Create Mime objects for the response content types for UpdateEditor
lazy_static! {
pub static ref UPDATE_EDITOR_BAD_REQUEST: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for UpdateEditor
+ // Create Mime objects for the response content types for UpdateEditor
lazy_static! {
pub static ref UPDATE_EDITOR_NOT_AUTHORIZED: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for UpdateEditor
+ // Create Mime objects for the response content types for UpdateEditor
lazy_static! {
pub static ref UPDATE_EDITOR_FORBIDDEN: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for UpdateEditor
+ // Create Mime objects for the response content types for UpdateEditor
lazy_static! {
pub static ref UPDATE_EDITOR_NOT_FOUND: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for UpdateEditor
+ // Create Mime objects for the response content types for UpdateEditor
lazy_static! {
pub static ref UPDATE_EDITOR_GENERIC_ERROR: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for CreateFile
+ // Create Mime objects for the response content types for CreateFile
lazy_static! {
pub static ref CREATE_FILE_CREATED_ENTITY: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for CreateFile
+ // Create Mime objects for the response content types for CreateFile
lazy_static! {
pub static ref CREATE_FILE_BAD_REQUEST: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for CreateFile
+ // Create Mime objects for the response content types for CreateFile
lazy_static! {
pub static ref CREATE_FILE_NOT_AUTHORIZED: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for CreateFile
+ // Create Mime objects for the response content types for CreateFile
lazy_static! {
pub static ref CREATE_FILE_FORBIDDEN: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for CreateFile
+ // Create Mime objects for the response content types for CreateFile
lazy_static! {
pub static ref CREATE_FILE_NOT_FOUND: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for CreateFile
+ // Create Mime objects for the response content types for CreateFile
lazy_static! {
pub static ref CREATE_FILE_GENERIC_ERROR: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for CreateFileAutoBatch
+ // Create Mime objects for the response content types for CreateFileAutoBatch
lazy_static! {
pub static ref CREATE_FILE_AUTO_BATCH_CREATED_EDITGROUP: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for CreateFileAutoBatch
+ // Create Mime objects for the response content types for CreateFileAutoBatch
lazy_static! {
pub static ref CREATE_FILE_AUTO_BATCH_BAD_REQUEST: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for CreateFileAutoBatch
+ // Create Mime objects for the response content types for CreateFileAutoBatch
lazy_static! {
pub static ref CREATE_FILE_AUTO_BATCH_NOT_AUTHORIZED: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for CreateFileAutoBatch
+ // Create Mime objects for the response content types for CreateFileAutoBatch
lazy_static! {
pub static ref CREATE_FILE_AUTO_BATCH_FORBIDDEN: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for CreateFileAutoBatch
+ // Create Mime objects for the response content types for CreateFileAutoBatch
lazy_static! {
pub static ref CREATE_FILE_AUTO_BATCH_NOT_FOUND: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for CreateFileAutoBatch
+ // Create Mime objects for the response content types for CreateFileAutoBatch
lazy_static! {
pub static ref CREATE_FILE_AUTO_BATCH_GENERIC_ERROR: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for DeleteFile
+ // Create Mime objects for the response content types for DeleteFile
lazy_static! {
pub static ref DELETE_FILE_DELETED_ENTITY: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for DeleteFile
+ // Create Mime objects for the response content types for DeleteFile
lazy_static! {
pub static ref DELETE_FILE_BAD_REQUEST: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for DeleteFile
+ // Create Mime objects for the response content types for DeleteFile
lazy_static! {
pub static ref DELETE_FILE_NOT_AUTHORIZED: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for DeleteFile
+ // Create Mime objects for the response content types for DeleteFile
lazy_static! {
pub static ref DELETE_FILE_FORBIDDEN: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for DeleteFile
+ // Create Mime objects for the response content types for DeleteFile
lazy_static! {
pub static ref DELETE_FILE_NOT_FOUND: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for DeleteFile
+ // Create Mime objects for the response content types for DeleteFile
lazy_static! {
pub static ref DELETE_FILE_GENERIC_ERROR: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for DeleteFileEdit
+ // Create Mime objects for the response content types for DeleteFileEdit
lazy_static! {
pub static ref DELETE_FILE_EDIT_DELETED_EDIT: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for DeleteFileEdit
+ // Create Mime objects for the response content types for DeleteFileEdit
lazy_static! {
pub static ref DELETE_FILE_EDIT_BAD_REQUEST: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for DeleteFileEdit
+ // Create Mime objects for the response content types for DeleteFileEdit
lazy_static! {
pub static ref DELETE_FILE_EDIT_NOT_AUTHORIZED: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for DeleteFileEdit
+ // Create Mime objects for the response content types for DeleteFileEdit
lazy_static! {
pub static ref DELETE_FILE_EDIT_FORBIDDEN: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for DeleteFileEdit
+ // Create Mime objects for the response content types for DeleteFileEdit
lazy_static! {
pub static ref DELETE_FILE_EDIT_NOT_FOUND: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for DeleteFileEdit
+ // Create Mime objects for the response content types for DeleteFileEdit
lazy_static! {
pub static ref DELETE_FILE_EDIT_GENERIC_ERROR: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetFile
+ // Create Mime objects for the response content types for GetFile
lazy_static! {
pub static ref GET_FILE_FOUND_ENTITY: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetFile
+ // Create Mime objects for the response content types for GetFile
lazy_static! {
pub static ref GET_FILE_BAD_REQUEST: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetFile
+ // Create Mime objects for the response content types for GetFile
lazy_static! {
pub static ref GET_FILE_NOT_FOUND: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetFile
+ // Create Mime objects for the response content types for GetFile
lazy_static! {
pub static ref GET_FILE_GENERIC_ERROR: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetFileEdit
+ // Create Mime objects for the response content types for GetFileEdit
lazy_static! {
pub static ref GET_FILE_EDIT_FOUND_EDIT: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetFileEdit
+ // Create Mime objects for the response content types for GetFileEdit
lazy_static! {
pub static ref GET_FILE_EDIT_BAD_REQUEST: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetFileEdit
+ // Create Mime objects for the response content types for GetFileEdit
lazy_static! {
pub static ref GET_FILE_EDIT_NOT_FOUND: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetFileEdit
+ // Create Mime objects for the response content types for GetFileEdit
lazy_static! {
pub static ref GET_FILE_EDIT_GENERIC_ERROR: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetFileHistory
+ // Create Mime objects for the response content types for GetFileHistory
lazy_static! {
pub static ref GET_FILE_HISTORY_FOUND_ENTITY_HISTORY: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetFileHistory
+ // Create Mime objects for the response content types for GetFileHistory
lazy_static! {
pub static ref GET_FILE_HISTORY_BAD_REQUEST: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetFileHistory
+ // Create Mime objects for the response content types for GetFileHistory
lazy_static! {
pub static ref GET_FILE_HISTORY_NOT_FOUND: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetFileHistory
+ // Create Mime objects for the response content types for GetFileHistory
lazy_static! {
pub static ref GET_FILE_HISTORY_GENERIC_ERROR: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetFileRedirects
+ // Create Mime objects for the response content types for GetFileRedirects
lazy_static! {
pub static ref GET_FILE_REDIRECTS_FOUND_ENTITY_REDIRECTS: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetFileRedirects
+ // Create Mime objects for the response content types for GetFileRedirects
lazy_static! {
pub static ref GET_FILE_REDIRECTS_BAD_REQUEST: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetFileRedirects
+ // Create Mime objects for the response content types for GetFileRedirects
lazy_static! {
pub static ref GET_FILE_REDIRECTS_NOT_FOUND: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetFileRedirects
+ // Create Mime objects for the response content types for GetFileRedirects
lazy_static! {
pub static ref GET_FILE_REDIRECTS_GENERIC_ERROR: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetFileRevision
+ // Create Mime objects for the response content types for GetFileRevision
lazy_static! {
pub static ref GET_FILE_REVISION_FOUND_ENTITY_REVISION: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetFileRevision
+ // Create Mime objects for the response content types for GetFileRevision
lazy_static! {
pub static ref GET_FILE_REVISION_BAD_REQUEST: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetFileRevision
+ // Create Mime objects for the response content types for GetFileRevision
lazy_static! {
pub static ref GET_FILE_REVISION_NOT_FOUND: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetFileRevision
+ // Create Mime objects for the response content types for GetFileRevision
lazy_static! {
pub static ref GET_FILE_REVISION_GENERIC_ERROR: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for LookupFile
+ // Create Mime objects for the response content types for LookupFile
lazy_static! {
pub static ref LOOKUP_FILE_FOUND_ENTITY: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for LookupFile
+ // Create Mime objects for the response content types for LookupFile
lazy_static! {
pub static ref LOOKUP_FILE_BAD_REQUEST: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for LookupFile
+ // Create Mime objects for the response content types for LookupFile
lazy_static! {
pub static ref LOOKUP_FILE_NOT_FOUND: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for LookupFile
+ // Create Mime objects for the response content types for LookupFile
lazy_static! {
pub static ref LOOKUP_FILE_GENERIC_ERROR: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for UpdateFile
+ // Create Mime objects for the response content types for UpdateFile
lazy_static! {
pub static ref UPDATE_FILE_UPDATED_ENTITY: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for UpdateFile
+ // Create Mime objects for the response content types for UpdateFile
lazy_static! {
pub static ref UPDATE_FILE_BAD_REQUEST: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for UpdateFile
+ // Create Mime objects for the response content types for UpdateFile
lazy_static! {
pub static ref UPDATE_FILE_NOT_AUTHORIZED: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for UpdateFile
+ // Create Mime objects for the response content types for UpdateFile
lazy_static! {
pub static ref UPDATE_FILE_FORBIDDEN: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for UpdateFile
+ // Create Mime objects for the response content types for UpdateFile
lazy_static! {
pub static ref UPDATE_FILE_NOT_FOUND: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for UpdateFile
+ // Create Mime objects for the response content types for UpdateFile
lazy_static! {
pub static ref UPDATE_FILE_GENERIC_ERROR: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for CreateFileset
+ // Create Mime objects for the response content types for CreateFileset
lazy_static! {
pub static ref CREATE_FILESET_CREATED_ENTITY: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for CreateFileset
+ // Create Mime objects for the response content types for CreateFileset
lazy_static! {
pub static ref CREATE_FILESET_BAD_REQUEST: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for CreateFileset
+ // Create Mime objects for the response content types for CreateFileset
lazy_static! {
pub static ref CREATE_FILESET_NOT_AUTHORIZED: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for CreateFileset
+ // Create Mime objects for the response content types for CreateFileset
lazy_static! {
pub static ref CREATE_FILESET_FORBIDDEN: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for CreateFileset
+ // Create Mime objects for the response content types for CreateFileset
lazy_static! {
pub static ref CREATE_FILESET_NOT_FOUND: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for CreateFileset
+ // Create Mime objects for the response content types for CreateFileset
lazy_static! {
pub static ref CREATE_FILESET_GENERIC_ERROR: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for CreateFilesetAutoBatch
+ // Create Mime objects for the response content types for CreateFilesetAutoBatch
lazy_static! {
pub static ref CREATE_FILESET_AUTO_BATCH_CREATED_EDITGROUP: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for CreateFilesetAutoBatch
+ // Create Mime objects for the response content types for CreateFilesetAutoBatch
lazy_static! {
pub static ref CREATE_FILESET_AUTO_BATCH_BAD_REQUEST: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for CreateFilesetAutoBatch
+ // Create Mime objects for the response content types for CreateFilesetAutoBatch
lazy_static! {
pub static ref CREATE_FILESET_AUTO_BATCH_NOT_AUTHORIZED: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for CreateFilesetAutoBatch
+ // Create Mime objects for the response content types for CreateFilesetAutoBatch
lazy_static! {
pub static ref CREATE_FILESET_AUTO_BATCH_FORBIDDEN: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for CreateFilesetAutoBatch
+ // Create Mime objects for the response content types for CreateFilesetAutoBatch
lazy_static! {
pub static ref CREATE_FILESET_AUTO_BATCH_NOT_FOUND: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for CreateFilesetAutoBatch
+ // Create Mime objects for the response content types for CreateFilesetAutoBatch
lazy_static! {
pub static ref CREATE_FILESET_AUTO_BATCH_GENERIC_ERROR: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for DeleteFileset
+ // Create Mime objects for the response content types for DeleteFileset
lazy_static! {
pub static ref DELETE_FILESET_DELETED_ENTITY: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for DeleteFileset
+ // Create Mime objects for the response content types for DeleteFileset
lazy_static! {
pub static ref DELETE_FILESET_BAD_REQUEST: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for DeleteFileset
+ // Create Mime objects for the response content types for DeleteFileset
lazy_static! {
pub static ref DELETE_FILESET_NOT_AUTHORIZED: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for DeleteFileset
+ // Create Mime objects for the response content types for DeleteFileset
lazy_static! {
pub static ref DELETE_FILESET_FORBIDDEN: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for DeleteFileset
+ // Create Mime objects for the response content types for DeleteFileset
lazy_static! {
pub static ref DELETE_FILESET_NOT_FOUND: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for DeleteFileset
+ // Create Mime objects for the response content types for DeleteFileset
lazy_static! {
pub static ref DELETE_FILESET_GENERIC_ERROR: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for DeleteFilesetEdit
+ // Create Mime objects for the response content types for DeleteFilesetEdit
lazy_static! {
pub static ref DELETE_FILESET_EDIT_DELETED_EDIT: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for DeleteFilesetEdit
+ // Create Mime objects for the response content types for DeleteFilesetEdit
lazy_static! {
pub static ref DELETE_FILESET_EDIT_BAD_REQUEST: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for DeleteFilesetEdit
+ // Create Mime objects for the response content types for DeleteFilesetEdit
lazy_static! {
pub static ref DELETE_FILESET_EDIT_NOT_AUTHORIZED: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for DeleteFilesetEdit
+ // Create Mime objects for the response content types for DeleteFilesetEdit
lazy_static! {
pub static ref DELETE_FILESET_EDIT_FORBIDDEN: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for DeleteFilesetEdit
+ // Create Mime objects for the response content types for DeleteFilesetEdit
lazy_static! {
pub static ref DELETE_FILESET_EDIT_NOT_FOUND: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for DeleteFilesetEdit
+ // Create Mime objects for the response content types for DeleteFilesetEdit
lazy_static! {
pub static ref DELETE_FILESET_EDIT_GENERIC_ERROR: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetFileset
+ // Create Mime objects for the response content types for GetFileset
lazy_static! {
pub static ref GET_FILESET_FOUND_ENTITY: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetFileset
+ // Create Mime objects for the response content types for GetFileset
lazy_static! {
pub static ref GET_FILESET_BAD_REQUEST: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetFileset
+ // Create Mime objects for the response content types for GetFileset
lazy_static! {
pub static ref GET_FILESET_NOT_FOUND: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetFileset
+ // Create Mime objects for the response content types for GetFileset
lazy_static! {
pub static ref GET_FILESET_GENERIC_ERROR: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetFilesetEdit
+ // Create Mime objects for the response content types for GetFilesetEdit
lazy_static! {
pub static ref GET_FILESET_EDIT_FOUND_EDIT: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetFilesetEdit
+ // Create Mime objects for the response content types for GetFilesetEdit
lazy_static! {
pub static ref GET_FILESET_EDIT_BAD_REQUEST: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetFilesetEdit
+ // Create Mime objects for the response content types for GetFilesetEdit
lazy_static! {
pub static ref GET_FILESET_EDIT_NOT_FOUND: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetFilesetEdit
+ // Create Mime objects for the response content types for GetFilesetEdit
lazy_static! {
pub static ref GET_FILESET_EDIT_GENERIC_ERROR: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetFilesetHistory
+ // Create Mime objects for the response content types for GetFilesetHistory
lazy_static! {
pub static ref GET_FILESET_HISTORY_FOUND_ENTITY_HISTORY: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetFilesetHistory
+ // Create Mime objects for the response content types for GetFilesetHistory
lazy_static! {
pub static ref GET_FILESET_HISTORY_BAD_REQUEST: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetFilesetHistory
+ // Create Mime objects for the response content types for GetFilesetHistory
lazy_static! {
pub static ref GET_FILESET_HISTORY_NOT_FOUND: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetFilesetHistory
+ // Create Mime objects for the response content types for GetFilesetHistory
lazy_static! {
pub static ref GET_FILESET_HISTORY_GENERIC_ERROR: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetFilesetRedirects
+ // Create Mime objects for the response content types for GetFilesetRedirects
lazy_static! {
pub static ref GET_FILESET_REDIRECTS_FOUND_ENTITY_REDIRECTS: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetFilesetRedirects
+ // Create Mime objects for the response content types for GetFilesetRedirects
lazy_static! {
pub static ref GET_FILESET_REDIRECTS_BAD_REQUEST: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetFilesetRedirects
+ // Create Mime objects for the response content types for GetFilesetRedirects
lazy_static! {
pub static ref GET_FILESET_REDIRECTS_NOT_FOUND: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetFilesetRedirects
+ // Create Mime objects for the response content types for GetFilesetRedirects
lazy_static! {
pub static ref GET_FILESET_REDIRECTS_GENERIC_ERROR: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetFilesetRevision
+ // Create Mime objects for the response content types for GetFilesetRevision
lazy_static! {
pub static ref GET_FILESET_REVISION_FOUND_ENTITY_REVISION: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetFilesetRevision
+ // Create Mime objects for the response content types for GetFilesetRevision
lazy_static! {
pub static ref GET_FILESET_REVISION_BAD_REQUEST: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetFilesetRevision
+ // Create Mime objects for the response content types for GetFilesetRevision
lazy_static! {
pub static ref GET_FILESET_REVISION_NOT_FOUND: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetFilesetRevision
+ // Create Mime objects for the response content types for GetFilesetRevision
lazy_static! {
pub static ref GET_FILESET_REVISION_GENERIC_ERROR: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for UpdateFileset
+ // Create Mime objects for the response content types for UpdateFileset
lazy_static! {
pub static ref UPDATE_FILESET_UPDATED_ENTITY: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for UpdateFileset
+ // Create Mime objects for the response content types for UpdateFileset
lazy_static! {
pub static ref UPDATE_FILESET_BAD_REQUEST: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for UpdateFileset
+ // Create Mime objects for the response content types for UpdateFileset
lazy_static! {
pub static ref UPDATE_FILESET_NOT_AUTHORIZED: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for UpdateFileset
+ // Create Mime objects for the response content types for UpdateFileset
lazy_static! {
pub static ref UPDATE_FILESET_FORBIDDEN: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for UpdateFileset
+ // Create Mime objects for the response content types for UpdateFileset
lazy_static! {
pub static ref UPDATE_FILESET_NOT_FOUND: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for UpdateFileset
+ // Create Mime objects for the response content types for UpdateFileset
lazy_static! {
pub static ref UPDATE_FILESET_GENERIC_ERROR: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for CreateRelease
+ // Create Mime objects for the response content types for CreateRelease
lazy_static! {
pub static ref CREATE_RELEASE_CREATED_ENTITY: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for CreateRelease
+ // Create Mime objects for the response content types for CreateRelease
lazy_static! {
pub static ref CREATE_RELEASE_BAD_REQUEST: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for CreateRelease
+ // Create Mime objects for the response content types for CreateRelease
lazy_static! {
pub static ref CREATE_RELEASE_NOT_AUTHORIZED: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for CreateRelease
+ // Create Mime objects for the response content types for CreateRelease
lazy_static! {
pub static ref CREATE_RELEASE_FORBIDDEN: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for CreateRelease
+ // Create Mime objects for the response content types for CreateRelease
lazy_static! {
pub static ref CREATE_RELEASE_NOT_FOUND: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for CreateRelease
+ // Create Mime objects for the response content types for CreateRelease
lazy_static! {
pub static ref CREATE_RELEASE_GENERIC_ERROR: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for CreateReleaseAutoBatch
+ // Create Mime objects for the response content types for CreateReleaseAutoBatch
lazy_static! {
pub static ref CREATE_RELEASE_AUTO_BATCH_CREATED_EDITGROUP: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for CreateReleaseAutoBatch
+ // Create Mime objects for the response content types for CreateReleaseAutoBatch
lazy_static! {
pub static ref CREATE_RELEASE_AUTO_BATCH_BAD_REQUEST: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for CreateReleaseAutoBatch
+ // Create Mime objects for the response content types for CreateReleaseAutoBatch
lazy_static! {
pub static ref CREATE_RELEASE_AUTO_BATCH_NOT_AUTHORIZED: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for CreateReleaseAutoBatch
+ // Create Mime objects for the response content types for CreateReleaseAutoBatch
lazy_static! {
pub static ref CREATE_RELEASE_AUTO_BATCH_FORBIDDEN: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for CreateReleaseAutoBatch
+ // Create Mime objects for the response content types for CreateReleaseAutoBatch
lazy_static! {
pub static ref CREATE_RELEASE_AUTO_BATCH_NOT_FOUND: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for CreateReleaseAutoBatch
+ // Create Mime objects for the response content types for CreateReleaseAutoBatch
lazy_static! {
pub static ref CREATE_RELEASE_AUTO_BATCH_GENERIC_ERROR: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for DeleteRelease
+ // Create Mime objects for the response content types for DeleteRelease
lazy_static! {
pub static ref DELETE_RELEASE_DELETED_ENTITY: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for DeleteRelease
+ // Create Mime objects for the response content types for DeleteRelease
lazy_static! {
pub static ref DELETE_RELEASE_BAD_REQUEST: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for DeleteRelease
+ // Create Mime objects for the response content types for DeleteRelease
lazy_static! {
pub static ref DELETE_RELEASE_NOT_AUTHORIZED: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for DeleteRelease
+ // Create Mime objects for the response content types for DeleteRelease
lazy_static! {
pub static ref DELETE_RELEASE_FORBIDDEN: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for DeleteRelease
+ // Create Mime objects for the response content types for DeleteRelease
lazy_static! {
pub static ref DELETE_RELEASE_NOT_FOUND: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for DeleteRelease
+ // Create Mime objects for the response content types for DeleteRelease
lazy_static! {
pub static ref DELETE_RELEASE_GENERIC_ERROR: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for DeleteReleaseEdit
+ // Create Mime objects for the response content types for DeleteReleaseEdit
lazy_static! {
pub static ref DELETE_RELEASE_EDIT_DELETED_EDIT: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for DeleteReleaseEdit
+ // Create Mime objects for the response content types for DeleteReleaseEdit
lazy_static! {
pub static ref DELETE_RELEASE_EDIT_BAD_REQUEST: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for DeleteReleaseEdit
+ // Create Mime objects for the response content types for DeleteReleaseEdit
lazy_static! {
pub static ref DELETE_RELEASE_EDIT_NOT_AUTHORIZED: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for DeleteReleaseEdit
+ // Create Mime objects for the response content types for DeleteReleaseEdit
lazy_static! {
pub static ref DELETE_RELEASE_EDIT_FORBIDDEN: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for DeleteReleaseEdit
+ // Create Mime objects for the response content types for DeleteReleaseEdit
lazy_static! {
pub static ref DELETE_RELEASE_EDIT_NOT_FOUND: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for DeleteReleaseEdit
+ // Create Mime objects for the response content types for DeleteReleaseEdit
lazy_static! {
pub static ref DELETE_RELEASE_EDIT_GENERIC_ERROR: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetRelease
+ // Create Mime objects for the response content types for GetRelease
lazy_static! {
pub static ref GET_RELEASE_FOUND_ENTITY: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetRelease
+ // Create Mime objects for the response content types for GetRelease
lazy_static! {
pub static ref GET_RELEASE_BAD_REQUEST: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetRelease
+ // Create Mime objects for the response content types for GetRelease
lazy_static! {
pub static ref GET_RELEASE_NOT_FOUND: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetRelease
+ // Create Mime objects for the response content types for GetRelease
lazy_static! {
pub static ref GET_RELEASE_GENERIC_ERROR: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetReleaseEdit
+ // Create Mime objects for the response content types for GetReleaseEdit
lazy_static! {
pub static ref GET_RELEASE_EDIT_FOUND_EDIT: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetReleaseEdit
+ // Create Mime objects for the response content types for GetReleaseEdit
lazy_static! {
pub static ref GET_RELEASE_EDIT_BAD_REQUEST: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetReleaseEdit
+ // Create Mime objects for the response content types for GetReleaseEdit
lazy_static! {
pub static ref GET_RELEASE_EDIT_NOT_FOUND: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetReleaseEdit
+ // Create Mime objects for the response content types for GetReleaseEdit
lazy_static! {
pub static ref GET_RELEASE_EDIT_GENERIC_ERROR: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetReleaseFiles
+ // Create Mime objects for the response content types for GetReleaseFiles
lazy_static! {
pub static ref GET_RELEASE_FILES_FOUND: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetReleaseFiles
+ // Create Mime objects for the response content types for GetReleaseFiles
lazy_static! {
pub static ref GET_RELEASE_FILES_BAD_REQUEST: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetReleaseFiles
+ // Create Mime objects for the response content types for GetReleaseFiles
lazy_static! {
pub static ref GET_RELEASE_FILES_NOT_FOUND: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetReleaseFiles
+ // Create Mime objects for the response content types for GetReleaseFiles
lazy_static! {
pub static ref GET_RELEASE_FILES_GENERIC_ERROR: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetReleaseFilesets
+ // Create Mime objects for the response content types for GetReleaseFilesets
lazy_static! {
pub static ref GET_RELEASE_FILESETS_FOUND: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetReleaseFilesets
+ // Create Mime objects for the response content types for GetReleaseFilesets
lazy_static! {
pub static ref GET_RELEASE_FILESETS_BAD_REQUEST: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetReleaseFilesets
+ // Create Mime objects for the response content types for GetReleaseFilesets
lazy_static! {
pub static ref GET_RELEASE_FILESETS_NOT_FOUND: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetReleaseFilesets
+ // Create Mime objects for the response content types for GetReleaseFilesets
lazy_static! {
pub static ref GET_RELEASE_FILESETS_GENERIC_ERROR: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetReleaseHistory
+ // Create Mime objects for the response content types for GetReleaseHistory
lazy_static! {
pub static ref GET_RELEASE_HISTORY_FOUND_ENTITY_HISTORY: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetReleaseHistory
+ // Create Mime objects for the response content types for GetReleaseHistory
lazy_static! {
pub static ref GET_RELEASE_HISTORY_BAD_REQUEST: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetReleaseHistory
+ // Create Mime objects for the response content types for GetReleaseHistory
lazy_static! {
pub static ref GET_RELEASE_HISTORY_NOT_FOUND: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetReleaseHistory
+ // Create Mime objects for the response content types for GetReleaseHistory
lazy_static! {
pub static ref GET_RELEASE_HISTORY_GENERIC_ERROR: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetReleaseRedirects
+ // Create Mime objects for the response content types for GetReleaseRedirects
lazy_static! {
pub static ref GET_RELEASE_REDIRECTS_FOUND_ENTITY_REDIRECTS: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetReleaseRedirects
+ // Create Mime objects for the response content types for GetReleaseRedirects
lazy_static! {
pub static ref GET_RELEASE_REDIRECTS_BAD_REQUEST: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetReleaseRedirects
+ // Create Mime objects for the response content types for GetReleaseRedirects
lazy_static! {
pub static ref GET_RELEASE_REDIRECTS_NOT_FOUND: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetReleaseRedirects
+ // Create Mime objects for the response content types for GetReleaseRedirects
lazy_static! {
pub static ref GET_RELEASE_REDIRECTS_GENERIC_ERROR: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetReleaseRevision
+ // Create Mime objects for the response content types for GetReleaseRevision
lazy_static! {
pub static ref GET_RELEASE_REVISION_FOUND_ENTITY_REVISION: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetReleaseRevision
+ // Create Mime objects for the response content types for GetReleaseRevision
lazy_static! {
pub static ref GET_RELEASE_REVISION_BAD_REQUEST: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetReleaseRevision
+ // Create Mime objects for the response content types for GetReleaseRevision
lazy_static! {
pub static ref GET_RELEASE_REVISION_NOT_FOUND: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetReleaseRevision
+ // Create Mime objects for the response content types for GetReleaseRevision
lazy_static! {
pub static ref GET_RELEASE_REVISION_GENERIC_ERROR: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetReleaseWebcaptures
+ // Create Mime objects for the response content types for GetReleaseWebcaptures
lazy_static! {
pub static ref GET_RELEASE_WEBCAPTURES_FOUND: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetReleaseWebcaptures
+ // Create Mime objects for the response content types for GetReleaseWebcaptures
lazy_static! {
pub static ref GET_RELEASE_WEBCAPTURES_BAD_REQUEST: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetReleaseWebcaptures
+ // Create Mime objects for the response content types for GetReleaseWebcaptures
lazy_static! {
pub static ref GET_RELEASE_WEBCAPTURES_NOT_FOUND: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetReleaseWebcaptures
+ // Create Mime objects for the response content types for GetReleaseWebcaptures
lazy_static! {
pub static ref GET_RELEASE_WEBCAPTURES_GENERIC_ERROR: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for LookupRelease
+ // Create Mime objects for the response content types for LookupRelease
lazy_static! {
pub static ref LOOKUP_RELEASE_FOUND_ENTITY: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for LookupRelease
+ // Create Mime objects for the response content types for LookupRelease
lazy_static! {
pub static ref LOOKUP_RELEASE_BAD_REQUEST: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for LookupRelease
+ // Create Mime objects for the response content types for LookupRelease
lazy_static! {
pub static ref LOOKUP_RELEASE_NOT_FOUND: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for LookupRelease
+ // Create Mime objects for the response content types for LookupRelease
lazy_static! {
pub static ref LOOKUP_RELEASE_GENERIC_ERROR: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for UpdateRelease
+ // Create Mime objects for the response content types for UpdateRelease
lazy_static! {
pub static ref UPDATE_RELEASE_UPDATED_ENTITY: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for UpdateRelease
+ // Create Mime objects for the response content types for UpdateRelease
lazy_static! {
pub static ref UPDATE_RELEASE_BAD_REQUEST: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for UpdateRelease
+ // Create Mime objects for the response content types for UpdateRelease
lazy_static! {
pub static ref UPDATE_RELEASE_NOT_AUTHORIZED: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for UpdateRelease
+ // Create Mime objects for the response content types for UpdateRelease
lazy_static! {
pub static ref UPDATE_RELEASE_FORBIDDEN: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for UpdateRelease
+ // Create Mime objects for the response content types for UpdateRelease
lazy_static! {
pub static ref UPDATE_RELEASE_NOT_FOUND: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for UpdateRelease
+ // Create Mime objects for the response content types for UpdateRelease
lazy_static! {
pub static ref UPDATE_RELEASE_GENERIC_ERROR: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for CreateWebcapture
+ // Create Mime objects for the response content types for CreateWebcapture
lazy_static! {
pub static ref CREATE_WEBCAPTURE_CREATED_ENTITY: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for CreateWebcapture
+ // Create Mime objects for the response content types for CreateWebcapture
lazy_static! {
pub static ref CREATE_WEBCAPTURE_BAD_REQUEST: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for CreateWebcapture
+ // Create Mime objects for the response content types for CreateWebcapture
lazy_static! {
pub static ref CREATE_WEBCAPTURE_NOT_AUTHORIZED: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for CreateWebcapture
+ // Create Mime objects for the response content types for CreateWebcapture
lazy_static! {
pub static ref CREATE_WEBCAPTURE_FORBIDDEN: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for CreateWebcapture
+ // Create Mime objects for the response content types for CreateWebcapture
lazy_static! {
pub static ref CREATE_WEBCAPTURE_NOT_FOUND: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for CreateWebcapture
+ // Create Mime objects for the response content types for CreateWebcapture
lazy_static! {
pub static ref CREATE_WEBCAPTURE_GENERIC_ERROR: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for CreateWebcaptureAutoBatch
+ // Create Mime objects for the response content types for CreateWebcaptureAutoBatch
lazy_static! {
pub static ref CREATE_WEBCAPTURE_AUTO_BATCH_CREATED_EDITGROUP: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for CreateWebcaptureAutoBatch
+ // Create Mime objects for the response content types for CreateWebcaptureAutoBatch
lazy_static! {
pub static ref CREATE_WEBCAPTURE_AUTO_BATCH_BAD_REQUEST: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for CreateWebcaptureAutoBatch
+ // Create Mime objects for the response content types for CreateWebcaptureAutoBatch
lazy_static! {
pub static ref CREATE_WEBCAPTURE_AUTO_BATCH_NOT_AUTHORIZED: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for CreateWebcaptureAutoBatch
+ // Create Mime objects for the response content types for CreateWebcaptureAutoBatch
lazy_static! {
pub static ref CREATE_WEBCAPTURE_AUTO_BATCH_FORBIDDEN: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for CreateWebcaptureAutoBatch
+ // Create Mime objects for the response content types for CreateWebcaptureAutoBatch
lazy_static! {
pub static ref CREATE_WEBCAPTURE_AUTO_BATCH_NOT_FOUND: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for CreateWebcaptureAutoBatch
+ // Create Mime objects for the response content types for CreateWebcaptureAutoBatch
lazy_static! {
pub static ref CREATE_WEBCAPTURE_AUTO_BATCH_GENERIC_ERROR: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for DeleteWebcapture
+ // Create Mime objects for the response content types for DeleteWebcapture
lazy_static! {
pub static ref DELETE_WEBCAPTURE_DELETED_ENTITY: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for DeleteWebcapture
+ // Create Mime objects for the response content types for DeleteWebcapture
lazy_static! {
pub static ref DELETE_WEBCAPTURE_BAD_REQUEST: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for DeleteWebcapture
+ // Create Mime objects for the response content types for DeleteWebcapture
lazy_static! {
pub static ref DELETE_WEBCAPTURE_NOT_AUTHORIZED: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for DeleteWebcapture
+ // Create Mime objects for the response content types for DeleteWebcapture
lazy_static! {
pub static ref DELETE_WEBCAPTURE_FORBIDDEN: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for DeleteWebcapture
+ // Create Mime objects for the response content types for DeleteWebcapture
lazy_static! {
pub static ref DELETE_WEBCAPTURE_NOT_FOUND: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for DeleteWebcapture
+ // Create Mime objects for the response content types for DeleteWebcapture
lazy_static! {
pub static ref DELETE_WEBCAPTURE_GENERIC_ERROR: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for DeleteWebcaptureEdit
+ // Create Mime objects for the response content types for DeleteWebcaptureEdit
lazy_static! {
pub static ref DELETE_WEBCAPTURE_EDIT_DELETED_EDIT: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for DeleteWebcaptureEdit
+ // Create Mime objects for the response content types for DeleteWebcaptureEdit
lazy_static! {
pub static ref DELETE_WEBCAPTURE_EDIT_BAD_REQUEST: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for DeleteWebcaptureEdit
+ // Create Mime objects for the response content types for DeleteWebcaptureEdit
lazy_static! {
pub static ref DELETE_WEBCAPTURE_EDIT_NOT_AUTHORIZED: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for DeleteWebcaptureEdit
+ // Create Mime objects for the response content types for DeleteWebcaptureEdit
lazy_static! {
pub static ref DELETE_WEBCAPTURE_EDIT_FORBIDDEN: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for DeleteWebcaptureEdit
+ // Create Mime objects for the response content types for DeleteWebcaptureEdit
lazy_static! {
pub static ref DELETE_WEBCAPTURE_EDIT_NOT_FOUND: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for DeleteWebcaptureEdit
+ // Create Mime objects for the response content types for DeleteWebcaptureEdit
lazy_static! {
pub static ref DELETE_WEBCAPTURE_EDIT_GENERIC_ERROR: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetWebcapture
+ // Create Mime objects for the response content types for GetWebcapture
lazy_static! {
pub static ref GET_WEBCAPTURE_FOUND_ENTITY: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetWebcapture
+ // Create Mime objects for the response content types for GetWebcapture
lazy_static! {
pub static ref GET_WEBCAPTURE_BAD_REQUEST: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetWebcapture
+ // Create Mime objects for the response content types for GetWebcapture
lazy_static! {
pub static ref GET_WEBCAPTURE_NOT_FOUND: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetWebcapture
+ // Create Mime objects for the response content types for GetWebcapture
lazy_static! {
pub static ref GET_WEBCAPTURE_GENERIC_ERROR: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetWebcaptureEdit
+ // Create Mime objects for the response content types for GetWebcaptureEdit
lazy_static! {
pub static ref GET_WEBCAPTURE_EDIT_FOUND_EDIT: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetWebcaptureEdit
+ // Create Mime objects for the response content types for GetWebcaptureEdit
lazy_static! {
pub static ref GET_WEBCAPTURE_EDIT_BAD_REQUEST: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetWebcaptureEdit
+ // Create Mime objects for the response content types for GetWebcaptureEdit
lazy_static! {
pub static ref GET_WEBCAPTURE_EDIT_NOT_FOUND: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetWebcaptureEdit
+ // Create Mime objects for the response content types for GetWebcaptureEdit
lazy_static! {
pub static ref GET_WEBCAPTURE_EDIT_GENERIC_ERROR: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetWebcaptureHistory
+ // Create Mime objects for the response content types for GetWebcaptureHistory
lazy_static! {
pub static ref GET_WEBCAPTURE_HISTORY_FOUND_ENTITY_HISTORY: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetWebcaptureHistory
+ // Create Mime objects for the response content types for GetWebcaptureHistory
lazy_static! {
pub static ref GET_WEBCAPTURE_HISTORY_BAD_REQUEST: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetWebcaptureHistory
+ // Create Mime objects for the response content types for GetWebcaptureHistory
lazy_static! {
pub static ref GET_WEBCAPTURE_HISTORY_NOT_FOUND: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetWebcaptureHistory
+ // Create Mime objects for the response content types for GetWebcaptureHistory
lazy_static! {
pub static ref GET_WEBCAPTURE_HISTORY_GENERIC_ERROR: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetWebcaptureRedirects
+ // Create Mime objects for the response content types for GetWebcaptureRedirects
lazy_static! {
pub static ref GET_WEBCAPTURE_REDIRECTS_FOUND_ENTITY_REDIRECTS: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetWebcaptureRedirects
+ // Create Mime objects for the response content types for GetWebcaptureRedirects
lazy_static! {
pub static ref GET_WEBCAPTURE_REDIRECTS_BAD_REQUEST: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetWebcaptureRedirects
+ // Create Mime objects for the response content types for GetWebcaptureRedirects
lazy_static! {
pub static ref GET_WEBCAPTURE_REDIRECTS_NOT_FOUND: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetWebcaptureRedirects
+ // Create Mime objects for the response content types for GetWebcaptureRedirects
lazy_static! {
pub static ref GET_WEBCAPTURE_REDIRECTS_GENERIC_ERROR: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetWebcaptureRevision
+ // Create Mime objects for the response content types for GetWebcaptureRevision
lazy_static! {
pub static ref GET_WEBCAPTURE_REVISION_FOUND_ENTITY_REVISION: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetWebcaptureRevision
+ // Create Mime objects for the response content types for GetWebcaptureRevision
lazy_static! {
pub static ref GET_WEBCAPTURE_REVISION_BAD_REQUEST: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetWebcaptureRevision
+ // Create Mime objects for the response content types for GetWebcaptureRevision
lazy_static! {
pub static ref GET_WEBCAPTURE_REVISION_NOT_FOUND: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetWebcaptureRevision
+ // Create Mime objects for the response content types for GetWebcaptureRevision
lazy_static! {
pub static ref GET_WEBCAPTURE_REVISION_GENERIC_ERROR: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for UpdateWebcapture
+ // Create Mime objects for the response content types for UpdateWebcapture
lazy_static! {
pub static ref UPDATE_WEBCAPTURE_UPDATED_ENTITY: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for UpdateWebcapture
+ // Create Mime objects for the response content types for UpdateWebcapture
lazy_static! {
pub static ref UPDATE_WEBCAPTURE_BAD_REQUEST: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for UpdateWebcapture
+ // Create Mime objects for the response content types for UpdateWebcapture
lazy_static! {
pub static ref UPDATE_WEBCAPTURE_NOT_AUTHORIZED: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for UpdateWebcapture
+ // Create Mime objects for the response content types for UpdateWebcapture
lazy_static! {
pub static ref UPDATE_WEBCAPTURE_FORBIDDEN: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for UpdateWebcapture
+ // Create Mime objects for the response content types for UpdateWebcapture
lazy_static! {
pub static ref UPDATE_WEBCAPTURE_NOT_FOUND: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for UpdateWebcapture
+ // Create Mime objects for the response content types for UpdateWebcapture
lazy_static! {
pub static ref UPDATE_WEBCAPTURE_GENERIC_ERROR: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for CreateWork
+ // Create Mime objects for the response content types for CreateWork
lazy_static! {
pub static ref CREATE_WORK_CREATED_ENTITY: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for CreateWork
+ // Create Mime objects for the response content types for CreateWork
lazy_static! {
pub static ref CREATE_WORK_BAD_REQUEST: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for CreateWork
+ // Create Mime objects for the response content types for CreateWork
lazy_static! {
pub static ref CREATE_WORK_NOT_AUTHORIZED: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for CreateWork
+ // Create Mime objects for the response content types for CreateWork
lazy_static! {
pub static ref CREATE_WORK_FORBIDDEN: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for CreateWork
+ // Create Mime objects for the response content types for CreateWork
lazy_static! {
pub static ref CREATE_WORK_NOT_FOUND: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for CreateWork
+ // Create Mime objects for the response content types for CreateWork
lazy_static! {
pub static ref CREATE_WORK_GENERIC_ERROR: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for CreateWorkAutoBatch
+ // Create Mime objects for the response content types for CreateWorkAutoBatch
lazy_static! {
pub static ref CREATE_WORK_AUTO_BATCH_CREATED_EDITGROUP: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for CreateWorkAutoBatch
+ // Create Mime objects for the response content types for CreateWorkAutoBatch
lazy_static! {
pub static ref CREATE_WORK_AUTO_BATCH_BAD_REQUEST: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for CreateWorkAutoBatch
+ // Create Mime objects for the response content types for CreateWorkAutoBatch
lazy_static! {
pub static ref CREATE_WORK_AUTO_BATCH_NOT_AUTHORIZED: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for CreateWorkAutoBatch
+ // Create Mime objects for the response content types for CreateWorkAutoBatch
lazy_static! {
pub static ref CREATE_WORK_AUTO_BATCH_FORBIDDEN: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for CreateWorkAutoBatch
+ // Create Mime objects for the response content types for CreateWorkAutoBatch
lazy_static! {
pub static ref CREATE_WORK_AUTO_BATCH_NOT_FOUND: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for CreateWorkAutoBatch
+ // Create Mime objects for the response content types for CreateWorkAutoBatch
lazy_static! {
pub static ref CREATE_WORK_AUTO_BATCH_GENERIC_ERROR: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for DeleteWork
+ // Create Mime objects for the response content types for DeleteWork
lazy_static! {
pub static ref DELETE_WORK_DELETED_ENTITY: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for DeleteWork
+ // Create Mime objects for the response content types for DeleteWork
lazy_static! {
pub static ref DELETE_WORK_BAD_REQUEST: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for DeleteWork
+ // Create Mime objects for the response content types for DeleteWork
lazy_static! {
pub static ref DELETE_WORK_NOT_AUTHORIZED: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for DeleteWork
+ // Create Mime objects for the response content types for DeleteWork
lazy_static! {
pub static ref DELETE_WORK_FORBIDDEN: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for DeleteWork
+ // Create Mime objects for the response content types for DeleteWork
lazy_static! {
pub static ref DELETE_WORK_NOT_FOUND: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for DeleteWork
+ // Create Mime objects for the response content types for DeleteWork
lazy_static! {
pub static ref DELETE_WORK_GENERIC_ERROR: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for DeleteWorkEdit
+ // Create Mime objects for the response content types for DeleteWorkEdit
lazy_static! {
pub static ref DELETE_WORK_EDIT_DELETED_EDIT: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for DeleteWorkEdit
+ // Create Mime objects for the response content types for DeleteWorkEdit
lazy_static! {
pub static ref DELETE_WORK_EDIT_BAD_REQUEST: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for DeleteWorkEdit
+ // Create Mime objects for the response content types for DeleteWorkEdit
lazy_static! {
pub static ref DELETE_WORK_EDIT_NOT_AUTHORIZED: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for DeleteWorkEdit
+ // Create Mime objects for the response content types for DeleteWorkEdit
lazy_static! {
pub static ref DELETE_WORK_EDIT_FORBIDDEN: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for DeleteWorkEdit
+ // Create Mime objects for the response content types for DeleteWorkEdit
lazy_static! {
pub static ref DELETE_WORK_EDIT_NOT_FOUND: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for DeleteWorkEdit
+ // Create Mime objects for the response content types for DeleteWorkEdit
lazy_static! {
pub static ref DELETE_WORK_EDIT_GENERIC_ERROR: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetWork
+ // Create Mime objects for the response content types for GetWork
lazy_static! {
pub static ref GET_WORK_FOUND_ENTITY: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetWork
+ // Create Mime objects for the response content types for GetWork
lazy_static! {
pub static ref GET_WORK_BAD_REQUEST: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetWork
+ // Create Mime objects for the response content types for GetWork
lazy_static! {
pub static ref GET_WORK_NOT_FOUND: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetWork
+ // Create Mime objects for the response content types for GetWork
lazy_static! {
pub static ref GET_WORK_GENERIC_ERROR: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetWorkEdit
+ // Create Mime objects for the response content types for GetWorkEdit
lazy_static! {
pub static ref GET_WORK_EDIT_FOUND_EDIT: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetWorkEdit
+ // Create Mime objects for the response content types for GetWorkEdit
lazy_static! {
pub static ref GET_WORK_EDIT_BAD_REQUEST: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetWorkEdit
+ // Create Mime objects for the response content types for GetWorkEdit
lazy_static! {
pub static ref GET_WORK_EDIT_NOT_FOUND: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetWorkEdit
+ // Create Mime objects for the response content types for GetWorkEdit
lazy_static! {
pub static ref GET_WORK_EDIT_GENERIC_ERROR: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetWorkHistory
+ // Create Mime objects for the response content types for GetWorkHistory
lazy_static! {
pub static ref GET_WORK_HISTORY_FOUND_ENTITY_HISTORY: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetWorkHistory
+ // Create Mime objects for the response content types for GetWorkHistory
lazy_static! {
pub static ref GET_WORK_HISTORY_BAD_REQUEST: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetWorkHistory
+ // Create Mime objects for the response content types for GetWorkHistory
lazy_static! {
pub static ref GET_WORK_HISTORY_NOT_FOUND: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetWorkHistory
+ // Create Mime objects for the response content types for GetWorkHistory
lazy_static! {
pub static ref GET_WORK_HISTORY_GENERIC_ERROR: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetWorkRedirects
+ // Create Mime objects for the response content types for GetWorkRedirects
lazy_static! {
pub static ref GET_WORK_REDIRECTS_FOUND_ENTITY_REDIRECTS: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetWorkRedirects
+ // Create Mime objects for the response content types for GetWorkRedirects
lazy_static! {
pub static ref GET_WORK_REDIRECTS_BAD_REQUEST: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetWorkRedirects
+ // Create Mime objects for the response content types for GetWorkRedirects
lazy_static! {
pub static ref GET_WORK_REDIRECTS_NOT_FOUND: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetWorkRedirects
+ // Create Mime objects for the response content types for GetWorkRedirects
lazy_static! {
pub static ref GET_WORK_REDIRECTS_GENERIC_ERROR: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetWorkReleases
+ // Create Mime objects for the response content types for GetWorkReleases
lazy_static! {
pub static ref GET_WORK_RELEASES_FOUND: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetWorkReleases
+ // Create Mime objects for the response content types for GetWorkReleases
lazy_static! {
pub static ref GET_WORK_RELEASES_BAD_REQUEST: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetWorkReleases
+ // Create Mime objects for the response content types for GetWorkReleases
lazy_static! {
pub static ref GET_WORK_RELEASES_NOT_FOUND: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetWorkReleases
+ // Create Mime objects for the response content types for GetWorkReleases
lazy_static! {
pub static ref GET_WORK_RELEASES_GENERIC_ERROR: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetWorkRevision
+ // Create Mime objects for the response content types for GetWorkRevision
lazy_static! {
pub static ref GET_WORK_REVISION_FOUND_ENTITY_REVISION: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetWorkRevision
+ // Create Mime objects for the response content types for GetWorkRevision
lazy_static! {
pub static ref GET_WORK_REVISION_BAD_REQUEST: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetWorkRevision
+ // Create Mime objects for the response content types for GetWorkRevision
lazy_static! {
pub static ref GET_WORK_REVISION_NOT_FOUND: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for GetWorkRevision
+ // Create Mime objects for the response content types for GetWorkRevision
lazy_static! {
pub static ref GET_WORK_REVISION_GENERIC_ERROR: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for UpdateWork
+ // Create Mime objects for the response content types for UpdateWork
lazy_static! {
pub static ref UPDATE_WORK_UPDATED_ENTITY: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for UpdateWork
+ // Create Mime objects for the response content types for UpdateWork
lazy_static! {
pub static ref UPDATE_WORK_BAD_REQUEST: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for UpdateWork
+ // Create Mime objects for the response content types for UpdateWork
lazy_static! {
pub static ref UPDATE_WORK_NOT_AUTHORIZED: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for UpdateWork
+ // Create Mime objects for the response content types for UpdateWork
lazy_static! {
pub static ref UPDATE_WORK_FORBIDDEN: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for UpdateWork
+ // Create Mime objects for the response content types for UpdateWork
lazy_static! {
pub static ref UPDATE_WORK_NOT_FOUND: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the response content types for UpdateWork
+ // Create Mime objects for the response content types for UpdateWork
lazy_static! {
pub static ref UPDATE_WORK_GENERIC_ERROR: Mime = mime!(Application / Json);
}
@@ -1885,107 +1885,107 @@ pub mod responses {
pub mod requests {
use hyper::mime::*;
- /// Create Mime objects for the request content types for AuthOidc
+ // Create Mime objects for the request content types for AuthOidc
lazy_static! {
pub static ref AUTH_OIDC: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the request content types for CreateContainer
+ // Create Mime objects for the request content types for CreateContainer
lazy_static! {
pub static ref CREATE_CONTAINER: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the request content types for CreateContainerAutoBatch
+ // Create Mime objects for the request content types for CreateContainerAutoBatch
lazy_static! {
pub static ref CREATE_CONTAINER_AUTO_BATCH: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the request content types for UpdateContainer
+ // Create Mime objects for the request content types for UpdateContainer
lazy_static! {
pub static ref UPDATE_CONTAINER: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the request content types for CreateCreator
+ // Create Mime objects for the request content types for CreateCreator
lazy_static! {
pub static ref CREATE_CREATOR: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the request content types for CreateCreatorAutoBatch
+ // Create Mime objects for the request content types for CreateCreatorAutoBatch
lazy_static! {
pub static ref CREATE_CREATOR_AUTO_BATCH: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the request content types for UpdateCreator
+ // Create Mime objects for the request content types for UpdateCreator
lazy_static! {
pub static ref UPDATE_CREATOR: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the request content types for CreateEditgroup
+ // Create Mime objects for the request content types for CreateEditgroup
lazy_static! {
pub static ref CREATE_EDITGROUP: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the request content types for CreateEditgroupAnnotation
+ // Create Mime objects for the request content types for CreateEditgroupAnnotation
lazy_static! {
pub static ref CREATE_EDITGROUP_ANNOTATION: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the request content types for UpdateEditgroup
+ // Create Mime objects for the request content types for UpdateEditgroup
lazy_static! {
pub static ref UPDATE_EDITGROUP: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the request content types for UpdateEditor
+ // Create Mime objects for the request content types for UpdateEditor
lazy_static! {
pub static ref UPDATE_EDITOR: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the request content types for CreateFile
+ // Create Mime objects for the request content types for CreateFile
lazy_static! {
pub static ref CREATE_FILE: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the request content types for CreateFileAutoBatch
+ // Create Mime objects for the request content types for CreateFileAutoBatch
lazy_static! {
pub static ref CREATE_FILE_AUTO_BATCH: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the request content types for UpdateFile
+ // Create Mime objects for the request content types for UpdateFile
lazy_static! {
pub static ref UPDATE_FILE: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the request content types for CreateFileset
+ // Create Mime objects for the request content types for CreateFileset
lazy_static! {
pub static ref CREATE_FILESET: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the request content types for CreateFilesetAutoBatch
+ // Create Mime objects for the request content types for CreateFilesetAutoBatch
lazy_static! {
pub static ref CREATE_FILESET_AUTO_BATCH: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the request content types for UpdateFileset
+ // Create Mime objects for the request content types for UpdateFileset
lazy_static! {
pub static ref UPDATE_FILESET: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the request content types for CreateRelease
+ // Create Mime objects for the request content types for CreateRelease
lazy_static! {
pub static ref CREATE_RELEASE: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the request content types for CreateReleaseAutoBatch
+ // Create Mime objects for the request content types for CreateReleaseAutoBatch
lazy_static! {
pub static ref CREATE_RELEASE_AUTO_BATCH: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the request content types for UpdateRelease
+ // Create Mime objects for the request content types for UpdateRelease
lazy_static! {
pub static ref UPDATE_RELEASE: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the request content types for CreateWebcapture
+ // Create Mime objects for the request content types for CreateWebcapture
lazy_static! {
pub static ref CREATE_WEBCAPTURE: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the request content types for CreateWebcaptureAutoBatch
+ // Create Mime objects for the request content types for CreateWebcaptureAutoBatch
lazy_static! {
pub static ref CREATE_WEBCAPTURE_AUTO_BATCH: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the request content types for UpdateWebcapture
+ // Create Mime objects for the request content types for UpdateWebcapture
lazy_static! {
pub static ref UPDATE_WEBCAPTURE: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the request content types for CreateWork
+ // Create Mime objects for the request content types for CreateWork
lazy_static! {
pub static ref CREATE_WORK: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the request content types for CreateWorkAutoBatch
+ // Create Mime objects for the request content types for CreateWorkAutoBatch
lazy_static! {
pub static ref CREATE_WORK_AUTO_BATCH: Mime = mime!(Application / Json);
}
- /// Create Mime objects for the request content types for UpdateWork
+ // Create Mime objects for the request content types for UpdateWork
lazy_static! {
pub static ref UPDATE_WORK: Mime = mime!(Application / Json);
}
diff --git a/rust/fatcat-openapi/src/models.rs b/rust/fatcat-openapi/src/models.rs
index 2f648ccd..adad2958 100644
--- a/rust/fatcat-openapi/src/models.rs
+++ b/rust/fatcat-openapi/src/models.rs
@@ -5,7 +5,7 @@ extern crate uuid;
use serde::ser::Serializer;
-use models;
+use crate::models;
use std::collections::HashMap;
use swagger;
diff --git a/rust/fatcat-openapi/src/server.rs b/rust/fatcat-openapi/src/server.rs
index 128b6933..539d5d5b 100644
--- a/rust/fatcat-openapi/src/server.rs
+++ b/rust/fatcat-openapi/src/server.rs
@@ -12,12 +12,12 @@ use self::iron::url::percent_encoding::percent_decode;
use self::iron::{modifiers, status, BeforeMiddleware};
use self::router::Router;
use self::urlencoded::UrlEncodedQuery;
+use crate::mimetypes;
use futures::future;
use futures::Future;
use futures::{stream, Stream};
use hyper;
use hyper::header::{ContentType, Headers};
-use mimetypes;
use serde_json;
@@ -35,8 +35,8 @@ use swagger::auth::{AuthData, Scopes};
use swagger::{ApiError, Context, XSpanId};
#[allow(unused_imports)]
-use models;
-use {
+use crate::models;
+use crate::{
AcceptEditgroupResponse, Api, AuthCheckResponse, AuthOidcResponse, CreateAuthTokenResponse, CreateContainerAutoBatchResponse, CreateContainerResponse, CreateCreatorAutoBatchResponse,
CreateCreatorResponse, CreateEditgroupAnnotationResponse, CreateEditgroupResponse, CreateFileAutoBatchResponse, CreateFileResponse, CreateFilesetAutoBatchResponse, CreateFilesetResponse,
CreateReleaseAutoBatchResponse, CreateReleaseResponse, CreateWebcaptureAutoBatchResponse, CreateWebcaptureResponse, CreateWorkAutoBatchResponse, CreateWorkResponse, DeleteContainerEditResponse,