summaryrefslogtreecommitdiffstats
path: root/fatcat-openapi/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'fatcat-openapi/src/lib.rs')
-rw-r--r--fatcat-openapi/src/lib.rs193
1 files changed, 97 insertions, 96 deletions
diff --git a/fatcat-openapi/src/lib.rs b/fatcat-openapi/src/lib.rs
index 42b1b8c..9af7267 100644
--- a/fatcat-openapi/src/lib.rs
+++ b/fatcat-openapi/src/lib.rs
@@ -10,6 +10,7 @@
use async_trait::async_trait;
use futures::Stream;
+use serde::{Deserialize, Serialize};
use std::error::Error;
use std::task::{Context, Poll};
use swagger::{ApiError, ContextWrapper};
@@ -19,7 +20,7 @@ type ServiceError = Box<dyn Error + Send + Sync + 'static>;
pub const BASE_PATH: &'static str = "/v0";
pub const API_VERSION: &'static str = "0.5.0";
-#[derive(Debug, PartialEq)]
+#[derive(Debug, PartialEq, Serialize, Deserialize)]
#[must_use]
pub enum AcceptEditgroupResponse {
/// Merged Successfully
@@ -41,7 +42,7 @@ pub enum AcceptEditgroupResponse {
GenericError(models::ErrorResponse),
}
-#[derive(Debug, PartialEq)]
+#[derive(Debug, PartialEq, Serialize, Deserialize)]
#[must_use]
pub enum AuthCheckResponse {
/// Success
@@ -59,7 +60,7 @@ pub enum AuthCheckResponse {
GenericError(models::ErrorResponse),
}
-#[derive(Debug, PartialEq)]
+#[derive(Debug, PartialEq, Serialize, Deserialize)]
#[must_use]
pub enum AuthOidcResponse {
/// Found
@@ -81,7 +82,7 @@ pub enum AuthOidcResponse {
GenericError(models::ErrorResponse),
}
-#[derive(Debug, PartialEq)]
+#[derive(Debug, PartialEq, Serialize, Deserialize)]
#[must_use]
pub enum CreateAuthTokenResponse {
/// Success
@@ -99,7 +100,7 @@ pub enum CreateAuthTokenResponse {
GenericError(models::ErrorResponse),
}
-#[derive(Debug, PartialEq)]
+#[derive(Debug, PartialEq, Serialize, Deserialize)]
#[must_use]
pub enum CreateContainerResponse {
/// Created Entity
@@ -119,7 +120,7 @@ pub enum CreateContainerResponse {
GenericError(models::ErrorResponse),
}
-#[derive(Debug, PartialEq)]
+#[derive(Debug, PartialEq, Serialize, Deserialize)]
#[must_use]
pub enum CreateContainerAutoBatchResponse {
/// Created Editgroup
@@ -139,7 +140,7 @@ pub enum CreateContainerAutoBatchResponse {
GenericError(models::ErrorResponse),
}
-#[derive(Debug, PartialEq)]
+#[derive(Debug, PartialEq, Serialize, Deserialize)]
#[must_use]
pub enum CreateCreatorResponse {
/// Created Entity
@@ -159,7 +160,7 @@ pub enum CreateCreatorResponse {
GenericError(models::ErrorResponse),
}
-#[derive(Debug, PartialEq)]
+#[derive(Debug, PartialEq, Serialize, Deserialize)]
#[must_use]
pub enum CreateCreatorAutoBatchResponse {
/// Created Editgroup
@@ -179,7 +180,7 @@ pub enum CreateCreatorAutoBatchResponse {
GenericError(models::ErrorResponse),
}
-#[derive(Debug, PartialEq)]
+#[derive(Debug, PartialEq, Serialize, Deserialize)]
#[must_use]
pub enum CreateEditgroupResponse {
/// Successfully Created
@@ -199,7 +200,7 @@ pub enum CreateEditgroupResponse {
GenericError(models::ErrorResponse),
}
-#[derive(Debug, PartialEq)]
+#[derive(Debug, PartialEq, Serialize, Deserialize)]
#[must_use]
pub enum CreateEditgroupAnnotationResponse {
/// Created
@@ -219,7 +220,7 @@ pub enum CreateEditgroupAnnotationResponse {
GenericError(models::ErrorResponse),
}
-#[derive(Debug, PartialEq)]
+#[derive(Debug, PartialEq, Serialize, Deserialize)]
#[must_use]
pub enum CreateFileResponse {
/// Created Entity
@@ -239,7 +240,7 @@ pub enum CreateFileResponse {
GenericError(models::ErrorResponse),
}
-#[derive(Debug, PartialEq)]
+#[derive(Debug, PartialEq, Serialize, Deserialize)]
#[must_use]
pub enum CreateFileAutoBatchResponse {
/// Created Editgroup
@@ -259,7 +260,7 @@ pub enum CreateFileAutoBatchResponse {
GenericError(models::ErrorResponse),
}
-#[derive(Debug, PartialEq)]
+#[derive(Debug, PartialEq, Serialize, Deserialize)]
#[must_use]
pub enum CreateFilesetResponse {
/// Created Entity
@@ -279,7 +280,7 @@ pub enum CreateFilesetResponse {
GenericError(models::ErrorResponse),
}
-#[derive(Debug, PartialEq)]
+#[derive(Debug, PartialEq, Serialize, Deserialize)]
#[must_use]
pub enum CreateFilesetAutoBatchResponse {
/// Created Editgroup
@@ -299,7 +300,7 @@ pub enum CreateFilesetAutoBatchResponse {
GenericError(models::ErrorResponse),
}
-#[derive(Debug, PartialEq)]
+#[derive(Debug, PartialEq, Serialize, Deserialize)]
#[must_use]
pub enum CreateReleaseResponse {
/// Created Entity
@@ -319,7 +320,7 @@ pub enum CreateReleaseResponse {
GenericError(models::ErrorResponse),
}
-#[derive(Debug, PartialEq)]
+#[derive(Debug, PartialEq, Serialize, Deserialize)]
#[must_use]
pub enum CreateReleaseAutoBatchResponse {
/// Created Editgroup
@@ -339,7 +340,7 @@ pub enum CreateReleaseAutoBatchResponse {
GenericError(models::ErrorResponse),
}
-#[derive(Debug, PartialEq)]
+#[derive(Debug, PartialEq, Serialize, Deserialize)]
#[must_use]
pub enum CreateWebcaptureResponse {
/// Created Entity
@@ -359,7 +360,7 @@ pub enum CreateWebcaptureResponse {
GenericError(models::ErrorResponse),
}
-#[derive(Debug, PartialEq)]
+#[derive(Debug, PartialEq, Serialize, Deserialize)]
#[must_use]
pub enum CreateWebcaptureAutoBatchResponse {
/// Created Editgroup
@@ -379,7 +380,7 @@ pub enum CreateWebcaptureAutoBatchResponse {
GenericError(models::ErrorResponse),
}
-#[derive(Debug, PartialEq)]
+#[derive(Debug, PartialEq, Serialize, Deserialize)]
#[must_use]
pub enum CreateWorkResponse {
/// Created Entity
@@ -399,7 +400,7 @@ pub enum CreateWorkResponse {
GenericError(models::ErrorResponse),
}
-#[derive(Debug, PartialEq)]
+#[derive(Debug, PartialEq, Serialize, Deserialize)]
#[must_use]
pub enum CreateWorkAutoBatchResponse {
/// Created Editgroup
@@ -419,7 +420,7 @@ pub enum CreateWorkAutoBatchResponse {
GenericError(models::ErrorResponse),
}
-#[derive(Debug, PartialEq)]
+#[derive(Debug, PartialEq, Serialize, Deserialize)]
#[must_use]
pub enum DeleteContainerResponse {
/// Deleted Entity
@@ -439,7 +440,7 @@ pub enum DeleteContainerResponse {
GenericError(models::ErrorResponse),
}
-#[derive(Debug, PartialEq)]
+#[derive(Debug, PartialEq, Serialize, Deserialize)]
#[must_use]
pub enum DeleteContainerEditResponse {
/// Deleted Edit
@@ -459,7 +460,7 @@ pub enum DeleteContainerEditResponse {
GenericError(models::ErrorResponse),
}
-#[derive(Debug, PartialEq)]
+#[derive(Debug, PartialEq, Serialize, Deserialize)]
#[must_use]
pub enum DeleteCreatorResponse {
/// Deleted Entity
@@ -479,7 +480,7 @@ pub enum DeleteCreatorResponse {
GenericError(models::ErrorResponse),
}
-#[derive(Debug, PartialEq)]
+#[derive(Debug, PartialEq, Serialize, Deserialize)]
#[must_use]
pub enum DeleteCreatorEditResponse {
/// Deleted Edit
@@ -499,7 +500,7 @@ pub enum DeleteCreatorEditResponse {
GenericError(models::ErrorResponse),
}
-#[derive(Debug, PartialEq)]
+#[derive(Debug, PartialEq, Serialize, Deserialize)]
#[must_use]
pub enum DeleteFileResponse {
/// Deleted Entity
@@ -519,7 +520,7 @@ pub enum DeleteFileResponse {
GenericError(models::ErrorResponse),
}
-#[derive(Debug, PartialEq)]
+#[derive(Debug, PartialEq, Serialize, Deserialize)]
#[must_use]
pub enum DeleteFileEditResponse {
/// Deleted Edit
@@ -539,7 +540,7 @@ pub enum DeleteFileEditResponse {
GenericError(models::ErrorResponse),
}
-#[derive(Debug, PartialEq)]
+#[derive(Debug, PartialEq, Serialize, Deserialize)]
#[must_use]
pub enum DeleteFilesetResponse {
/// Deleted Entity
@@ -559,7 +560,7 @@ pub enum DeleteFilesetResponse {
GenericError(models::ErrorResponse),
}
-#[derive(Debug, PartialEq)]
+#[derive(Debug, PartialEq, Serialize, Deserialize)]
#[must_use]
pub enum DeleteFilesetEditResponse {
/// Deleted Edit
@@ -579,7 +580,7 @@ pub enum DeleteFilesetEditResponse {
GenericError(models::ErrorResponse),
}
-#[derive(Debug, PartialEq)]
+#[derive(Debug, PartialEq, Serialize, Deserialize)]
#[must_use]
pub enum DeleteReleaseResponse {
/// Deleted Entity
@@ -599,7 +600,7 @@ pub enum DeleteReleaseResponse {
GenericError(models::ErrorResponse),
}
-#[derive(Debug, PartialEq)]
+#[derive(Debug, PartialEq, Serialize, Deserialize)]
#[must_use]
pub enum DeleteReleaseEditResponse {
/// Deleted Edit
@@ -619,7 +620,7 @@ pub enum DeleteReleaseEditResponse {
GenericError(models::ErrorResponse),
}
-#[derive(Debug, PartialEq)]
+#[derive(Debug, PartialEq, Serialize, Deserialize)]
#[must_use]
pub enum DeleteWebcaptureResponse {
/// Deleted Entity
@@ -639,7 +640,7 @@ pub enum DeleteWebcaptureResponse {
GenericError(models::ErrorResponse),
}
-#[derive(Debug, PartialEq)]
+#[derive(Debug, PartialEq, Serialize, Deserialize)]
#[must_use]
pub enum DeleteWebcaptureEditResponse {
/// Deleted Edit
@@ -659,7 +660,7 @@ pub enum DeleteWebcaptureEditResponse {
GenericError(models::ErrorResponse),
}
-#[derive(Debug, PartialEq)]
+#[derive(Debug, PartialEq, Serialize, Deserialize)]
#[must_use]
pub enum DeleteWorkResponse {
/// Deleted Entity
@@ -679,7 +680,7 @@ pub enum DeleteWorkResponse {
GenericError(models::ErrorResponse),
}
-#[derive(Debug, PartialEq)]
+#[derive(Debug, PartialEq, Serialize, Deserialize)]
#[must_use]
pub enum DeleteWorkEditResponse {
/// Deleted Edit
@@ -699,7 +700,7 @@ pub enum DeleteWorkEditResponse {
GenericError(models::ErrorResponse),
}
-#[derive(Debug, PartialEq)]
+#[derive(Debug, PartialEq, Serialize, Deserialize)]
#[must_use]
pub enum GetChangelogResponse {
/// Success
@@ -710,7 +711,7 @@ pub enum GetChangelogResponse {
GenericError(models::ErrorResponse),
}
-#[derive(Debug, PartialEq)]
+#[derive(Debug, PartialEq, Serialize, Deserialize)]
#[must_use]
pub enum GetChangelogEntryResponse {
/// Found Changelog Entry
@@ -723,7 +724,7 @@ pub enum GetChangelogEntryResponse {
GenericError(models::ErrorResponse),
}
-#[derive(Debug, PartialEq)]
+#[derive(Debug, PartialEq, Serialize, Deserialize)]
#[must_use]
pub enum GetContainerResponse {
/// Found Entity
@@ -736,7 +737,7 @@ pub enum GetContainerResponse {
GenericError(models::ErrorResponse),
}
-#[derive(Debug, PartialEq)]
+#[derive(Debug, PartialEq, Serialize, Deserialize)]
#[must_use]
pub enum GetContainerEditResponse {
/// Found Edit
@@ -749,7 +750,7 @@ pub enum GetContainerEditResponse {
GenericError(models::ErrorResponse),
}
-#[derive(Debug, PartialEq)]
+#[derive(Debug, PartialEq, Serialize, Deserialize)]
#[must_use]
pub enum GetContainerHistoryResponse {
/// Found Entity History
@@ -762,7 +763,7 @@ pub enum GetContainerHistoryResponse {
GenericError(models::ErrorResponse),
}
-#[derive(Debug, PartialEq)]
+#[derive(Debug, PartialEq, Serialize, Deserialize)]
#[must_use]
pub enum GetContainerRedirectsResponse {
/// Found Entity Redirects
@@ -775,7 +776,7 @@ pub enum GetContainerRedirectsResponse {
GenericError(models::ErrorResponse),
}
-#[derive(Debug, PartialEq)]
+#[derive(Debug, PartialEq, Serialize, Deserialize)]
#[must_use]
pub enum GetContainerRevisionResponse {
/// Found Entity Revision
@@ -788,7 +789,7 @@ pub enum GetContainerRevisionResponse {
GenericError(models::ErrorResponse),
}
-#[derive(Debug, PartialEq)]
+#[derive(Debug, PartialEq, Serialize, Deserialize)]
#[must_use]
pub enum GetCreatorResponse {
/// Found Entity
@@ -801,7 +802,7 @@ pub enum GetCreatorResponse {
GenericError(models::ErrorResponse),
}
-#[derive(Debug, PartialEq)]
+#[derive(Debug, PartialEq, Serialize, Deserialize)]
#[must_use]
pub enum GetCreatorEditResponse {
/// Found Edit
@@ -814,7 +815,7 @@ pub enum GetCreatorEditResponse {
GenericError(models::ErrorResponse),
}
-#[derive(Debug, PartialEq)]
+#[derive(Debug, PartialEq, Serialize, Deserialize)]
#[must_use]
pub enum GetCreatorHistoryResponse {
/// Found Entity History
@@ -827,7 +828,7 @@ pub enum GetCreatorHistoryResponse {
GenericError(models::ErrorResponse),
}
-#[derive(Debug, PartialEq)]
+#[derive(Debug, PartialEq, Serialize, Deserialize)]
#[must_use]
pub enum GetCreatorRedirectsResponse {
/// Found Entity Redirects
@@ -840,7 +841,7 @@ pub enum GetCreatorRedirectsResponse {
GenericError(models::ErrorResponse),
}
-#[derive(Debug, PartialEq)]
+#[derive(Debug, PartialEq, Serialize, Deserialize)]
#[must_use]
pub enum GetCreatorReleasesResponse {
/// Found
@@ -853,7 +854,7 @@ pub enum GetCreatorReleasesResponse {
GenericError(models::ErrorResponse),
}
-#[derive(Debug, PartialEq)]
+#[derive(Debug, PartialEq, Serialize, Deserialize)]
#[must_use]
pub enum GetCreatorRevisionResponse {
/// Found Entity Revision
@@ -866,7 +867,7 @@ pub enum GetCreatorRevisionResponse {
GenericError(models::ErrorResponse),
}
-#[derive(Debug, PartialEq)]
+#[derive(Debug, PartialEq, Serialize, Deserialize)]
#[must_use]
pub enum GetEditgroupResponse {
/// Found
@@ -879,7 +880,7 @@ pub enum GetEditgroupResponse {
GenericError(models::ErrorResponse),
}
-#[derive(Debug, PartialEq)]
+#[derive(Debug, PartialEq, Serialize, Deserialize)]
#[must_use]
pub enum GetEditgroupAnnotationsResponse {
/// Success
@@ -899,7 +900,7 @@ pub enum GetEditgroupAnnotationsResponse {
GenericError(models::ErrorResponse),
}
-#[derive(Debug, PartialEq)]
+#[derive(Debug, PartialEq, Serialize, Deserialize)]
#[must_use]
pub enum GetEditgroupsReviewableResponse {
/// Found
@@ -912,7 +913,7 @@ pub enum GetEditgroupsReviewableResponse {
GenericError(models::ErrorResponse),
}
-#[derive(Debug, PartialEq)]
+#[derive(Debug, PartialEq, Serialize, Deserialize)]
#[must_use]
pub enum GetEditorResponse {
/// Found
@@ -925,7 +926,7 @@ pub enum GetEditorResponse {
GenericError(models::ErrorResponse),
}
-#[derive(Debug, PartialEq)]
+#[derive(Debug, PartialEq, Serialize, Deserialize)]
#[must_use]
pub enum GetEditorAnnotationsResponse {
/// Success
@@ -945,7 +946,7 @@ pub enum GetEditorAnnotationsResponse {
GenericError(models::ErrorResponse),
}
-#[derive(Debug, PartialEq)]
+#[derive(Debug, PartialEq, Serialize, Deserialize)]
#[must_use]
pub enum GetEditorEditgroupsResponse {
/// Found
@@ -958,7 +959,7 @@ pub enum GetEditorEditgroupsResponse {
GenericError(models::ErrorResponse),
}
-#[derive(Debug, PartialEq)]
+#[derive(Debug, PartialEq, Serialize, Deserialize)]
#[must_use]
pub enum GetFileResponse {
/// Found Entity
@@ -971,7 +972,7 @@ pub enum GetFileResponse {
GenericError(models::ErrorResponse),
}
-#[derive(Debug, PartialEq)]
+#[derive(Debug, PartialEq, Serialize, Deserialize)]
#[must_use]
pub enum GetFileEditResponse {
/// Found Edit
@@ -984,7 +985,7 @@ pub enum GetFileEditResponse {
GenericError(models::ErrorResponse),
}
-#[derive(Debug, PartialEq)]
+#[derive(Debug, PartialEq, Serialize, Deserialize)]
#[must_use]
pub enum GetFileHistoryResponse {
/// Found Entity History
@@ -997,7 +998,7 @@ pub enum GetFileHistoryResponse {
GenericError(models::ErrorResponse),
}
-#[derive(Debug, PartialEq)]
+#[derive(Debug, PartialEq, Serialize, Deserialize)]
#[must_use]
pub enum GetFileRedirectsResponse {
/// Found Entity Redirects
@@ -1010,7 +1011,7 @@ pub enum GetFileRedirectsResponse {
GenericError(models::ErrorResponse),
}
-#[derive(Debug, PartialEq)]
+#[derive(Debug, PartialEq, Serialize, Deserialize)]
#[must_use]
pub enum GetFileRevisionResponse {
/// Found Entity Revision
@@ -1023,7 +1024,7 @@ pub enum GetFileRevisionResponse {
GenericError(models::ErrorResponse),
}
-#[derive(Debug, PartialEq)]
+#[derive(Debug, PartialEq, Serialize, Deserialize)]
#[must_use]
pub enum GetFilesetResponse {
/// Found Entity
@@ -1036,7 +1037,7 @@ pub enum GetFilesetResponse {
GenericError(models::ErrorResponse),
}
-#[derive(Debug, PartialEq)]
+#[derive(Debug, PartialEq, Serialize, Deserialize)]
#[must_use]
pub enum GetFilesetEditResponse {
/// Found Edit
@@ -1049,7 +1050,7 @@ pub enum GetFilesetEditResponse {
GenericError(models::ErrorResponse),
}
-#[derive(Debug, PartialEq)]
+#[derive(Debug, PartialEq, Serialize, Deserialize)]
#[must_use]
pub enum GetFilesetHistoryResponse {
/// Found Entity History
@@ -1062,7 +1063,7 @@ pub enum GetFilesetHistoryResponse {
GenericError(models::ErrorResponse),
}
-#[derive(Debug, PartialEq)]
+#[derive(Debug, PartialEq, Serialize, Deserialize)]
#[must_use]
pub enum GetFilesetRedirectsResponse {
/// Found Entity Redirects
@@ -1075,7 +1076,7 @@ pub enum GetFilesetRedirectsResponse {
GenericError(models::ErrorResponse),
}
-#[derive(Debug, PartialEq)]
+#[derive(Debug, PartialEq, Serialize, Deserialize)]
#[must_use]
pub enum GetFilesetRevisionResponse {
/// Found Entity Revision
@@ -1088,7 +1089,7 @@ pub enum GetFilesetRevisionResponse {
GenericError(models::ErrorResponse),
}
-#[derive(Debug, PartialEq)]
+#[derive(Debug, PartialEq, Serialize, Deserialize)]
#[must_use]
pub enum GetReleaseResponse {
/// Found Entity
@@ -1101,7 +1102,7 @@ pub enum GetReleaseResponse {
GenericError(models::ErrorResponse),
}
-#[derive(Debug, PartialEq)]
+#[derive(Debug, PartialEq, Serialize, Deserialize)]
#[must_use]
pub enum GetReleaseEditResponse {
/// Found Edit
@@ -1114,7 +1115,7 @@ pub enum GetReleaseEditResponse {
GenericError(models::ErrorResponse),
}
-#[derive(Debug, PartialEq)]
+#[derive(Debug, PartialEq, Serialize, Deserialize)]
#[must_use]
pub enum GetReleaseFilesResponse {
/// Found
@@ -1127,7 +1128,7 @@ pub enum GetReleaseFilesResponse {
GenericError(models::ErrorResponse),
}
-#[derive(Debug, PartialEq)]
+#[derive(Debug, PartialEq, Serialize, Deserialize)]
#[must_use]
pub enum GetReleaseFilesetsResponse {
/// Found
@@ -1140,7 +1141,7 @@ pub enum GetReleaseFilesetsResponse {
GenericError(models::ErrorResponse),
}
-#[derive(Debug, PartialEq)]
+#[derive(Debug, PartialEq, Serialize, Deserialize)]
#[must_use]
pub enum GetReleaseHistoryResponse {
/// Found Entity History
@@ -1153,7 +1154,7 @@ pub enum GetReleaseHistoryResponse {
GenericError(models::ErrorResponse),
}
-#[derive(Debug, PartialEq)]
+#[derive(Debug, PartialEq, Serialize, Deserialize)]
#[must_use]
pub enum GetReleaseRedirectsResponse {
/// Found Entity Redirects
@@ -1166,7 +1167,7 @@ pub enum GetReleaseRedirectsResponse {
GenericError(models::ErrorResponse),
}
-#[derive(Debug, PartialEq)]
+#[derive(Debug, PartialEq, Serialize, Deserialize)]
#[must_use]
pub enum GetReleaseRevisionResponse {
/// Found Entity Revision
@@ -1179,7 +1180,7 @@ pub enum GetReleaseRevisionResponse {
GenericError(models::ErrorResponse),
}
-#[derive(Debug, PartialEq)]
+#[derive(Debug, PartialEq, Serialize, Deserialize)]
#[must_use]
pub enum GetReleaseWebcapturesResponse {
/// Found
@@ -1192,7 +1193,7 @@ pub enum GetReleaseWebcapturesResponse {
GenericError(models::ErrorResponse),
}
-#[derive(Debug, PartialEq)]
+#[derive(Debug, PartialEq, Serialize, Deserialize)]
#[must_use]
pub enum GetWebcaptureResponse {
/// Found Entity
@@ -1205,7 +1206,7 @@ pub enum GetWebcaptureResponse {
GenericError(models::ErrorResponse),
}
-#[derive(Debug, PartialEq)]
+#[derive(Debug, PartialEq, Serialize, Deserialize)]
#[must_use]
pub enum GetWebcaptureEditResponse {
/// Found Edit
@@ -1218,7 +1219,7 @@ pub enum GetWebcaptureEditResponse {
GenericError(models::ErrorResponse),
}
-#[derive(Debug, PartialEq)]
+#[derive(Debug, PartialEq, Serialize, Deserialize)]
#[must_use]
pub enum GetWebcaptureHistoryResponse {
/// Found Entity History
@@ -1231,7 +1232,7 @@ pub enum GetWebcaptureHistoryResponse {
GenericError(models::ErrorResponse),
}
-#[derive(Debug, PartialEq)]
+#[derive(Debug, PartialEq, Serialize, Deserialize)]
#[must_use]
pub enum GetWebcaptureRedirectsResponse {
/// Found Entity Redirects
@@ -1244,7 +1245,7 @@ pub enum GetWebcaptureRedirectsResponse {
GenericError(models::ErrorResponse),
}
-#[derive(Debug, PartialEq)]
+#[derive(Debug, PartialEq, Serialize, Deserialize)]
#[must_use]
pub enum GetWebcaptureRevisionResponse {
/// Found Entity Revision
@@ -1257,7 +1258,7 @@ pub enum GetWebcaptureRevisionResponse {
GenericError(models::ErrorResponse),
}
-#[derive(Debug, PartialEq)]
+#[derive(Debug, PartialEq, Serialize, Deserialize)]
#[must_use]
pub enum GetWorkResponse {
/// Found Entity
@@ -1270,7 +1271,7 @@ pub enum GetWorkResponse {
GenericError(models::ErrorResponse),
}
-#[derive(Debug, PartialEq)]
+#[derive(Debug, PartialEq, Serialize, Deserialize)]
#[must_use]
pub enum GetWorkEditResponse {
/// Found Edit
@@ -1283,7 +1284,7 @@ pub enum GetWorkEditResponse {
GenericError(models::ErrorResponse),
}
-#[derive(Debug, PartialEq)]
+#[derive(Debug, PartialEq, Serialize, Deserialize)]
#[must_use]
pub enum GetWorkHistoryResponse {
/// Found Entity History
@@ -1296,7 +1297,7 @@ pub enum GetWorkHistoryResponse {
GenericError(models::ErrorResponse),
}
-#[derive(Debug, PartialEq)]
+#[derive(Debug, PartialEq, Serialize, Deserialize)]
#[must_use]
pub enum GetWorkRedirectsResponse {
/// Found Entity Redirects
@@ -1309,7 +1310,7 @@ pub enum GetWorkRedirectsResponse {
GenericError(models::ErrorResponse),
}
-#[derive(Debug, PartialEq)]
+#[derive(Debug, PartialEq, Serialize, Deserialize)]
#[must_use]
pub enum GetWorkReleasesResponse {
/// Found
@@ -1322,7 +1323,7 @@ pub enum GetWorkReleasesResponse {
GenericError(models::ErrorResponse),
}
-#[derive(Debug, PartialEq)]
+#[derive(Debug, PartialEq, Serialize, Deserialize)]
#[must_use]
pub enum GetWorkRevisionResponse {
/// Found Entity Revision
@@ -1335,7 +1336,7 @@ pub enum GetWorkRevisionResponse {
GenericError(models::ErrorResponse),
}
-#[derive(Debug, PartialEq)]
+#[derive(Debug, PartialEq, Serialize, Deserialize)]
#[must_use]
pub enum LookupContainerResponse {
/// Found Entity
@@ -1348,7 +1349,7 @@ pub enum LookupContainerResponse {
GenericError(models::ErrorResponse),
}
-#[derive(Debug, PartialEq)]
+#[derive(Debug, PartialEq, Serialize, Deserialize)]
#[must_use]
pub enum LookupCreatorResponse {
/// Found Entity
@@ -1361,7 +1362,7 @@ pub enum LookupCreatorResponse {
GenericError(models::ErrorResponse),
}
-#[derive(Debug, PartialEq)]
+#[derive(Debug, PartialEq, Serialize, Deserialize)]
#[must_use]
pub enum LookupEditorResponse {
/// Found
@@ -1374,7 +1375,7 @@ pub enum LookupEditorResponse {
GenericError(models::ErrorResponse),
}
-#[derive(Debug, PartialEq)]
+#[derive(Debug, PartialEq, Serialize, Deserialize)]
#[must_use]
pub enum LookupFileResponse {
/// Found Entity
@@ -1387,7 +1388,7 @@ pub enum LookupFileResponse {
GenericError(models::ErrorResponse),
}
-#[derive(Debug, PartialEq)]
+#[derive(Debug, PartialEq, Serialize, Deserialize)]
#[must_use]
pub enum LookupReleaseResponse {
/// Found Entity
@@ -1400,7 +1401,7 @@ pub enum LookupReleaseResponse {
GenericError(models::ErrorResponse),
}
-#[derive(Debug, PartialEq)]
+#[derive(Debug, PartialEq, Serialize, Deserialize)]
#[must_use]
pub enum UpdateContainerResponse {
/// Updated Entity
@@ -1420,7 +1421,7 @@ pub enum UpdateContainerResponse {
GenericError(models::ErrorResponse),
}
-#[derive(Debug, PartialEq)]
+#[derive(Debug, PartialEq, Serialize, Deserialize)]
#[must_use]
pub enum UpdateCreatorResponse {
/// Updated Entity
@@ -1440,7 +1441,7 @@ pub enum UpdateCreatorResponse {
GenericError(models::ErrorResponse),
}
-#[derive(Debug, PartialEq)]
+#[derive(Debug, PartialEq, Serialize, Deserialize)]
#[must_use]
pub enum UpdateEditgroupResponse {
/// Updated Editgroup
@@ -1460,7 +1461,7 @@ pub enum UpdateEditgroupResponse {
GenericError(models::ErrorResponse),
}
-#[derive(Debug, PartialEq)]
+#[derive(Debug, PartialEq, Serialize, Deserialize)]
#[must_use]
pub enum UpdateEditorResponse {
/// Updated Editor
@@ -1480,7 +1481,7 @@ pub enum UpdateEditorResponse {
GenericError(models::ErrorResponse),
}
-#[derive(Debug, PartialEq)]
+#[derive(Debug, PartialEq, Serialize, Deserialize)]
#[must_use]
pub enum UpdateFileResponse {
/// Updated Entity
@@ -1500,7 +1501,7 @@ pub enum UpdateFileResponse {
GenericError(models::ErrorResponse),
}
-#[derive(Debug, PartialEq)]
+#[derive(Debug, PartialEq, Serialize, Deserialize)]
#[must_use]
pub enum UpdateFilesetResponse {
/// Updated Entity
@@ -1520,7 +1521,7 @@ pub enum UpdateFilesetResponse {
GenericError(models::ErrorResponse),
}
-#[derive(Debug, PartialEq)]
+#[derive(Debug, PartialEq, Serialize, Deserialize)]
#[must_use]
pub enum UpdateReleaseResponse {
/// Updated Entity
@@ -1540,7 +1541,7 @@ pub enum UpdateReleaseResponse {
GenericError(models::ErrorResponse),
}
-#[derive(Debug, PartialEq)]
+#[derive(Debug, PartialEq, Serialize, Deserialize)]
#[must_use]
pub enum UpdateWebcaptureResponse {
/// Updated Entity
@@ -1560,7 +1561,7 @@ pub enum UpdateWebcaptureResponse {
GenericError(models::ErrorResponse),
}
-#[derive(Debug, PartialEq)]
+#[derive(Debug, PartialEq, Serialize, Deserialize)]
#[must_use]
pub enum UpdateWorkResponse {
/// Updated Entity