Skip to content

Commit

Permalink
Add to and from string handling
Browse files Browse the repository at this point in the history
  • Loading branch information
cmanallen committed Jul 22, 2024
1 parent 46da7ef commit 93144ee
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions relay-base-schema/src/data_category.rs
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ impl DataCategory {
"profile_duration" => Self::ProfileDuration,
"profile_chunk" => Self::ProfileChunk,
"metric_second" => Self::MetricSecond,
"replay_video" => Self::MetricSecond,
_ => Self::Unknown,
}
}
Expand Down Expand Up @@ -151,6 +152,7 @@ impl DataCategory {
Self::ProfileDuration => "profile_duration",
Self::ProfileChunk => "profile_chunk",
Self::MetricSecond => "metric_second",
Self::ReplayVideo => "replay_video",
Self::Unknown => "unknown",
}
}
Expand Down

0 comments on commit 93144ee

Please sign in to comment.