Repository: svix/svix-webhooks (language: rust)

Issue:
Rust ReplayIn is private but should be public
## Bug Report

Version: 0.76.0

The new replay missing struct is private and cannot be imported. It seems to be because it's not exported at pub in the api.rs file.

```
use crate::models::{
    ..., ReplayIn,
};
pub use crate::models::{
    ApplicationIn,..., SHOULD BE HERE
};
```


Discussion / hints:
Whoops! @svix-andor, can you please take a look?

Fix patch:
diff --git a/rust/src/api.rs b/rust/src/api.rs
index f1549ff87..45d83320f 100644
--- a/rust/src/api.rs
+++ b/rust/src/api.rs
@@ -4,19 +4,16 @@ use crate::apis::{
     message_api, message_attempt_api,
 };
 use crate::error::Result;
-use crate::models::{
-    AppPortalAccessIn, AppPortalAccessOut, EndpointTransformationIn, EndpointTransformationOut,
-    IntegrationIn, IntegrationKeyOut, IntegrationOut, IntegrationUpdate,
-    ListResponseIntegrationOut, ReplayIn,
-};
 pub use crate::models::{
-    ApplicationIn, ApplicationOut, DashboardAccessOut, EndpointHeadersIn, EndpointHeadersOut,
-    EndpointHeadersPatchIn, EndpointIn, EndpointOut, EndpointSecretOut, EndpointSecretRotateIn,
-    EndpointStats, EndpointUpdate, EventTypeIn, EventTypeOut, EventTypeUpdate,
+    AppPortalAccessIn, AppPortalAccessOut, ApplicationIn, ApplicationOut, DashboardAccessOut,
+    EndpointHeadersIn, EndpointHeadersOut, EndpointHeadersPatchIn, EndpointIn, EndpointOut,
+    EndpointSecretOut, EndpointSecretRotateIn, EndpointStats, EndpointTransformationIn,
+    EndpointTransformationOut, EndpointUpdate, EventTypeIn, EventTypeOut, EventTypeUpdate,
+    IntegrationIn, IntegrationKeyOut, IntegrationOut, IntegrationUpdate,
     ListResponseApplicationOut, ListResponseEndpointMessageOut, ListResponseEndpointOut,
-    ListResponseEventTypeOut, ListResponseMessageAttemptEndpointOut, ListResponseMessageAttemptOut,
-    ListResponseMessageEndpointOut, ListResponseMessageOut, MessageAttemptOut, MessageIn,
-    MessageOut, MessageStatus, RecoverIn, StatusCodeClass,
+    ListResponseEventTypeOut, ListResponseIntegrationOut, ListResponseMessageAttemptEndpointOut,
+    ListResponseMessageAttemptOut, ListResponseMessageEndpointOut, ListResponseMessageOut,
+    MessageAttemptOut, MessageIn, MessageOut, MessageStatus, RecoverIn, ReplayIn, StatusCodeClass,
 };
 
 const CRATE_VERSION: &str = env!("CARGO_PKG_VERSION");


Test patch: