@@ -57,7 +57,7 @@ pub struct Contact {
5757 pub nostr_relays : Vec < String > ,
5858}
5959
60- #[ derive( BorshSerialize , BorshDeserialize , Serialize , Deserialize , Debug , Clone , PartialEq , Eq ) ]
60+ #[ derive( Serialize , Deserialize , Debug , Clone , PartialEq , Eq ) ]
6161pub enum BillParticipant {
6262 Anon ( BillAnonParticipant ) ,
6363 Ident ( BillIdentParticipant ) ,
@@ -117,9 +117,7 @@ impl BillParticipant {
117117 }
118118}
119119
120- #[ derive(
121- BorshSerialize , BorshDeserialize , Serialize , Deserialize , Debug , Clone , PartialEq , Eq , Default ,
122- ) ]
120+ #[ derive( Serialize , Deserialize , Debug , Clone , PartialEq , Eq , Default ) ]
123121pub struct BillAnonParticipant {
124122 /// The node id of the participant
125123 pub node_id : String ,
@@ -148,9 +146,7 @@ impl From<BillParticipant> for BillAnonParticipant {
148146 }
149147}
150148
151- #[ derive(
152- BorshSerialize , BorshDeserialize , Debug , Serialize , Deserialize , Clone , Eq , PartialEq , Default ,
153- ) ]
149+ #[ derive( Debug , Serialize , Deserialize , Clone , Eq , PartialEq , Default ) ]
154150pub struct BillIdentParticipant {
155151 /// The type of identity (0 = person, 1 = company)
156152 #[ serde( rename = "type" ) ]
@@ -168,18 +164,18 @@ pub struct BillIdentParticipant {
168164 pub nostr_relays : Vec < String > ,
169165}
170166
171- #[ derive( BorshSerialize , BorshDeserialize , Debug , Serialize , Deserialize , Clone ) ]
167+ #[ derive( Debug , Serialize , Deserialize , Clone ) ]
172168pub enum LightBillParticipant {
173169 Anon ( LightBillAnonParticipant ) ,
174170 Ident ( LightBillIdentParticipant ) ,
175171}
176172
177- #[ derive( BorshSerialize , BorshDeserialize , Debug , Serialize , Deserialize , Clone , Default ) ]
173+ #[ derive( Debug , Serialize , Deserialize , Clone , Default ) ]
178174pub struct LightBillAnonParticipant {
179175 pub node_id : String ,
180176}
181177
182- #[ derive( BorshSerialize , BorshDeserialize , Debug , Serialize , Deserialize , Clone , Default ) ]
178+ #[ derive( Debug , Serialize , Deserialize , Clone , Default ) ]
183179pub struct LightBillIdentParticipant {
184180 #[ serde( rename = "type" ) ]
185181 pub t : ContactType ,
@@ -214,7 +210,7 @@ impl From<BillAnonParticipant> for LightBillAnonParticipant {
214210 }
215211}
216212
217- #[ derive( BorshSerialize , BorshDeserialize , Debug , Serialize , Deserialize , Clone , Default ) ]
213+ #[ derive( Debug , Serialize , Deserialize , Clone , Default ) ]
218214pub struct LightBillIdentParticipantWithAddress {
219215 #[ serde( rename = "type" ) ]
220216 pub t : ContactType ,
0 commit comments