From 717afb92e60449e6a5cd9ebff418883439c66082 Mon Sep 17 00:00:00 2001 From: Sebastian Zivota Date: Tue, 27 Aug 2024 09:55:06 +0200 Subject: [PATCH] Move field --- relay-event-schema/src/protocol/user.rs | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/relay-event-schema/src/protocol/user.rs b/relay-event-schema/src/protocol/user.rs index af8a248e72..b43fb3830e 100644 --- a/relay-event-schema/src/protocol/user.rs +++ b/relay-event-schema/src/protocol/user.rs @@ -68,14 +68,6 @@ pub struct User { #[metastructure(pii = "true", max_chars = 128, skip_serialization = "empty")] pub name: Annotated, - /// Approximate geographical location of the end user or device. - #[metastructure(skip_serialization = "empty")] - pub geo: Annotated, - - /// The user segment, for apps that divide users in user segments. - #[metastructure(skip_serialization = "empty")] - pub segment: Annotated, - /// The user string representation as handled in Sentry. /// /// This field is computed by concatenating the name of specific fields of the `User` @@ -84,6 +76,14 @@ pub struct User { #[metastructure(pii = "true", skip_serialization = "empty")] pub sentry_user: Annotated, + /// Approximate geographical location of the end user or device. + #[metastructure(skip_serialization = "empty")] + pub geo: Annotated, + + /// The user segment, for apps that divide users in user segments. + #[metastructure(skip_serialization = "empty")] + pub segment: Annotated, + /// Additional arbitrary fields, as stored in the database (and sometimes as sent by clients). /// All data from `self.other` should end up here after store normalization. #[metastructure(pii = "true", skip_serialization = "empty")]