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")]