Skip to content

Commit ad2ddbb

Browse files
chore: Regenerate Rust bindings
1 parent 3edb300 commit ad2ddbb

2 files changed

Lines changed: 17 additions & 1 deletion

File tree

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rust/src/sentry_protos.billing.v1.rs

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,14 @@ pub enum DataCategory {
198198
InstallableBuild = 15,
199199
/// Trace metric items.
200200
TraceMetric = 16,
201+
/// Default events.
202+
Default = 17,
203+
/// Security events.
204+
Security = 18,
205+
/// Profile chunks.
206+
ProfileChunk = 19,
207+
/// UI profile chunks.
208+
ProfileChunkUi = 20,
201209
/// Any other data category not known by this version.
202210
Unknown = -1,
203211
}
@@ -225,6 +233,10 @@ impl DataCategory {
225233
Self::SizeAnalysis => "DATA_CATEGORY_SIZE_ANALYSIS",
226234
Self::InstallableBuild => "DATA_CATEGORY_INSTALLABLE_BUILD",
227235
Self::TraceMetric => "DATA_CATEGORY_TRACE_METRIC",
236+
Self::Default => "DATA_CATEGORY_DEFAULT",
237+
Self::Security => "DATA_CATEGORY_SECURITY",
238+
Self::ProfileChunk => "DATA_CATEGORY_PROFILE_CHUNK",
239+
Self::ProfileChunkUi => "DATA_CATEGORY_PROFILE_CHUNK_UI",
228240
Self::Unknown => "DATA_CATEGORY_UNKNOWN",
229241
}
230242
}
@@ -248,6 +260,10 @@ impl DataCategory {
248260
"DATA_CATEGORY_SIZE_ANALYSIS" => Some(Self::SizeAnalysis),
249261
"DATA_CATEGORY_INSTALLABLE_BUILD" => Some(Self::InstallableBuild),
250262
"DATA_CATEGORY_TRACE_METRIC" => Some(Self::TraceMetric),
263+
"DATA_CATEGORY_DEFAULT" => Some(Self::Default),
264+
"DATA_CATEGORY_SECURITY" => Some(Self::Security),
265+
"DATA_CATEGORY_PROFILE_CHUNK" => Some(Self::ProfileChunk),
266+
"DATA_CATEGORY_PROFILE_CHUNK_UI" => Some(Self::ProfileChunkUi),
251267
"DATA_CATEGORY_UNKNOWN" => Some(Self::Unknown),
252268
_ => None,
253269
}

0 commit comments

Comments
 (0)