Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions payjoin-ffi/src/receive/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<payjoin::receive::v2::SessionEvent> for ReceiverSessionEvent {
Expand Down Expand Up @@ -385,7 +385,7 @@ impl From<ReceiverBuilder> 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<payjoin::receive::v2::Initialized>);

impl From<Initialized> for payjoin::receive::v2::Receiver<payjoin::receive::v2::Initialized> {
Expand Down
2 changes: 1 addition & 1 deletion payjoin-ffi/src/send/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<SenderSessionEvent> for payjoin::send::v2::SessionEvent {
Expand Down
Loading