pub struct PropertiesObject {
pub tags: Option<HashMap<String, Value>>,
pub language: Option<String>,
pub timezone_id: Option<String>,
pub lat: Option<f32>,
pub long: Option<f32>,
pub country: Option<String>,
pub first_active: Option<f32>,
pub last_active: Option<f32>,
pub amount_spent: Option<f32>,
pub purchases: Option<Vec<Purchase>>,
pub ip: Option<String>,
}
Fields§
§language: Option<String>
§timezone_id: Option<String>
§lat: Option<f32>
§long: Option<f32>
§country: Option<String>
§first_active: Option<f32>
§last_active: Option<f32>
§amount_spent: Option<f32>
§purchases: Option<Vec<Purchase>>
§ip: Option<String>
Implementations§
Source§impl PropertiesObject
impl PropertiesObject
pub fn new() -> PropertiesObject
Trait Implementations§
Source§impl Clone for PropertiesObject
impl Clone for PropertiesObject
Source§fn clone(&self) -> PropertiesObject
fn clone(&self) -> PropertiesObject
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for PropertiesObject
impl Debug for PropertiesObject
Source§impl Default for PropertiesObject
impl Default for PropertiesObject
Source§fn default() -> PropertiesObject
fn default() -> PropertiesObject
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PropertiesObject
impl<'de> Deserialize<'de> for PropertiesObject
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
Source§impl PartialEq for PropertiesObject
impl PartialEq for PropertiesObject
Source§impl Serialize for PropertiesObject
impl Serialize for PropertiesObject
impl StructuralPartialEq for PropertiesObject
Auto Trait Implementations§
impl Freeze for PropertiesObject
impl RefUnwindSafe for PropertiesObject
impl Send for PropertiesObject
impl Sync for PropertiesObject
impl Unpin for PropertiesObject
impl UnwindSafe for PropertiesObject
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