pub struct User {
pub id: Option<String>,
pub buyeruid: Option<String>,
pub yob: Option<i64>,
pub gender: Option<String>,
pub keywords: Option<String>,
pub kwarray: Option<Vec<String>>,
pub customdata: Option<String>,
pub geo: Option<Geo>,
pub data: Option<Vec<Data>>,
pub consent: Option<String>,
pub eids: Option<Vec<EID>>,
pub ext: Option<Value>,
}Expand description
Information about the human user of the device.
Fields§
§id: Option<String>Exchange-specific ID for the user.
buyeruid: Option<String>Buyer-specific ID for the user.
yob: Option<i64>👎Deprecated since 2.6.0
Deprecated as of OpenRTB 2.6.
gender: Option<String>👎Deprecated since 2.6.0
Deprecated as of OpenRTB 2.6.
keywords: Option<String>Comma separated list of keywords, interests, or intent.
kwarray: Option<Vec<String>>Array of keywords about the user.
customdata: Option<String>Optional bidder data set in exchange’s cookie.
geo: Option<Geo>Location of the user’s home base (not necessarily current location).
data: Option<Vec<Data>>Additional user data from third-party providers via Data objects.
consent: Option<String>TCF Consent String when GDPR applies.
eids: Option<Vec<EID>>Extended identifiers support.
ext: Option<Value>Placeholder for exchange-specific extensions.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for User
impl<'de> Deserialize<'de> for User
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for User
Auto Trait Implementations§
impl Freeze for User
impl RefUnwindSafe for User
impl Send for User
impl Sync for User
impl Unpin for User
impl UnsafeUnpin for User
impl UnwindSafe for User
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more