diff --git a/payjoin-ffi/src/receive/mod.rs b/payjoin-ffi/src/receive/mod.rs index 963001463..c3c091a9b 100644 --- a/payjoin-ffi/src/receive/mod.rs +++ b/payjoin-ffi/src/receive/mod.rs @@ -43,7 +43,7 @@ macro_rules! impl_save_for_transition { }; } -#[derive(Debug, Clone, serde::Serialize, serde::Deserialize, uniffi::Object)] +#[derive(Debug, Clone, uniffi::Object)] pub struct ReceiverSessionEvent(payjoin::receive::v2::SessionEvent); impl From for ReceiverSessionEvent { @@ -385,7 +385,7 @@ impl From for payjoin::receive::v2::ReceiverBuilder { fn from(value: ReceiverBuilder) -> Self { value.0 } } -#[derive(Clone, Debug, serde::Serialize, serde::Deserialize, uniffi::Object)] +#[derive(Clone, Debug, uniffi::Object)] pub struct Initialized(payjoin::receive::v2::Receiver); impl From for payjoin::receive::v2::Receiver { diff --git a/payjoin-ffi/src/send/mod.rs b/payjoin-ffi/src/send/mod.rs index fd6f7983c..612c916a8 100644 --- a/payjoin-ffi/src/send/mod.rs +++ b/payjoin-ffi/src/send/mod.rs @@ -32,7 +32,7 @@ macro_rules! impl_save_for_transition { }; } -#[derive(uniffi::Object, Debug, Clone, serde::Serialize, serde::Deserialize)] +#[derive(uniffi::Object, Debug, Clone)] pub struct SenderSessionEvent(payjoin::send::v2::SessionEvent); impl From for payjoin::send::v2::SessionEvent {