fix damage

This commit is contained in:
Robin Appelman 2021-08-08 01:32:04 +02:00
commit cdaa164575
6 changed files with 97 additions and 7 deletions

View file

@ -136,6 +136,12 @@ impl TryFrom<&RawSubject<'_>> for SubjectData {
#[derive(Debug, Hash, Eq, PartialEq)]
pub struct SteamId3(pub SteamID);
impl From<SteamID> for SteamId3 {
fn from(id: SteamID) -> Self {
SteamId3(id)
}
}
impl Serialize for SteamId3 {
fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
where