(&self, f: &mut Formatter<'_>)
| 64 | |
| 65 | impl Display for ValidatorStakingInfo { |
| 66 | fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result { |
| 67 | write!( |
| 68 | f, |
| 69 | "ValidatorStaking(confirmed_collateral: {}, total_collateral: {}, metadata: 0x{})", |
| 70 | self.confirmed_collateral, |
| 71 | self.total_collateral, |
| 72 | hex::encode(&self.metadata) |
| 73 | ) |
| 74 | } |
| 75 | } |
| 76 | |
| 77 | impl TryFrom<subnet_actor_getter_facet::ValidatorInfo> for ValidatorStakingInfo { |
nothing calls this directly
no outgoing calls
no test coverage detected