Skip to content

Commit

Permalink
add easy derives for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeldjeffrey committed Sep 10, 2024
1 parent 5af0374 commit b36909e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion file_store/src/promotion_reward.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ use helium_proto::services::poc_mobile::{
self as proto, PromotionRewardIngestReportV1, PromotionRewardReqV1,
};

#[derive(Clone, PartialEq, Hash)]
#[derive(Debug, Clone, PartialEq, Hash)]
pub enum Entity {
SubscriberId(Vec<u8>),
GatewayKey(PublicKeyBinary),
Expand Down
1 change: 1 addition & 0 deletions mobile_verifier/src/promotion_reward.rs
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,7 @@ pub struct PromotionRewardShares {
pub shares: u64,
}

#[derive(Debug)]
pub struct ServiceProviderPromotionRewardShares {
pub service_provider_id: ServiceProviderId,
pub rewardable_entity: Entity,
Expand Down
2 changes: 1 addition & 1 deletion mobile_verifier/src/reward_shares/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ impl MapperShares {
}
}

#[derive(Default)]
#[derive(Debug, Default)]
pub struct ServiceProviderShares {
pub shares: Vec<ServiceProviderDataSession>,
}
Expand Down

0 comments on commit b36909e

Please sign in to comment.