@@ -57,7 +57,7 @@ pub struct Contact {
57
57
pub nostr_relays : Vec < String > ,
58
58
}
59
59
60
- #[ derive( BorshSerialize , BorshDeserialize , Serialize , Deserialize , Debug , Clone , PartialEq , Eq ) ]
60
+ #[ derive( Serialize , Deserialize , Debug , Clone , PartialEq , Eq ) ]
61
61
pub enum BillParticipant {
62
62
Anon ( BillAnonParticipant ) ,
63
63
Ident ( BillIdentParticipant ) ,
@@ -117,9 +117,7 @@ impl BillParticipant {
117
117
}
118
118
}
119
119
120
- #[ derive(
121
- BorshSerialize , BorshDeserialize , Serialize , Deserialize , Debug , Clone , PartialEq , Eq , Default ,
122
- ) ]
120
+ #[ derive( Serialize , Deserialize , Debug , Clone , PartialEq , Eq , Default ) ]
123
121
pub struct BillAnonParticipant {
124
122
/// The node id of the participant
125
123
pub node_id : String ,
@@ -148,9 +146,7 @@ impl From<BillParticipant> for BillAnonParticipant {
148
146
}
149
147
}
150
148
151
- #[ derive(
152
- BorshSerialize , BorshDeserialize , Debug , Serialize , Deserialize , Clone , Eq , PartialEq , Default ,
153
- ) ]
149
+ #[ derive( Debug , Serialize , Deserialize , Clone , Eq , PartialEq , Default ) ]
154
150
pub struct BillIdentParticipant {
155
151
/// The type of identity (0 = person, 1 = company)
156
152
#[ serde( rename = "type" ) ]
@@ -168,18 +164,18 @@ pub struct BillIdentParticipant {
168
164
pub nostr_relays : Vec < String > ,
169
165
}
170
166
171
- #[ derive( BorshSerialize , BorshDeserialize , Debug , Serialize , Deserialize , Clone ) ]
167
+ #[ derive( Debug , Serialize , Deserialize , Clone ) ]
172
168
pub enum LightBillParticipant {
173
169
Anon ( LightBillAnonParticipant ) ,
174
170
Ident ( LightBillIdentParticipant ) ,
175
171
}
176
172
177
- #[ derive( BorshSerialize , BorshDeserialize , Debug , Serialize , Deserialize , Clone , Default ) ]
173
+ #[ derive( Debug , Serialize , Deserialize , Clone , Default ) ]
178
174
pub struct LightBillAnonParticipant {
179
175
pub node_id : String ,
180
176
}
181
177
182
- #[ derive( BorshSerialize , BorshDeserialize , Debug , Serialize , Deserialize , Clone , Default ) ]
178
+ #[ derive( Debug , Serialize , Deserialize , Clone , Default ) ]
183
179
pub struct LightBillIdentParticipant {
184
180
#[ serde( rename = "type" ) ]
185
181
pub t : ContactType ,
@@ -214,7 +210,7 @@ impl From<BillAnonParticipant> for LightBillAnonParticipant {
214
210
}
215
211
}
216
212
217
- #[ derive( BorshSerialize , BorshDeserialize , Debug , Serialize , Deserialize , Clone , Default ) ]
213
+ #[ derive( Debug , Serialize , Deserialize , Clone , Default ) ]
218
214
pub struct LightBillIdentParticipantWithAddress {
219
215
#[ serde( rename = "type" ) ]
220
216
pub t : ContactType ,
0 commit comments