pub struct DemographicQuery {
pub age: Option<f64>,
pub sex: Option<Sex>,
pub race: Option<RaceOrRaces>,
pub location: Option<[f64; 2]>,
pub occupation: Option<String>,
pub income: Option<f64>,
pub interests: Option<Vec<String>>,
}Fields§
§age: Option<f64>§sex: Option<Sex>§race: Option<RaceOrRaces>§location: Option<[f64; 2]>§occupation: Option<String>§income: Option<f64>§interests: Option<Vec<String>>Trait Implementations§
Source§impl Clone for DemographicQuery
impl Clone for DemographicQuery
Source§impl Debug for DemographicQuery
impl Debug for DemographicQuery
Source§impl Default for DemographicQuery
impl Default for DemographicQuery
Source§impl<'de> Deserialize<'de> for DemographicQuery
impl<'de> Deserialize<'de> for DemographicQuery
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 DemographicQuery
impl PartialEq for DemographicQuery
Source§impl Serialize for DemographicQuery
impl Serialize for DemographicQuery
impl StructuralPartialEq for DemographicQuery
Auto Trait Implementations§
impl Forget for DemographicQuery
impl Freeze for DemographicQuery
impl Move for DemographicQuery
impl RefUnwindSafe for DemographicQuery
impl Send for DemographicQuery
impl Sync for DemographicQuery
impl Unpin for DemographicQuery
impl UnsafeUnpin for DemographicQuery
impl UnwindSafe for DemographicQuery
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