pub struct PreferencesResponse {Show 17 fields
pub gendered_age_ranges: GenderedRange,
pub dealbreakers: Dealbreakers,
pub religions: Vec<ReligionPreference>,
pub drinking: Vec<DrinkingStatusPreference>,
pub gendered_height_ranges: GenderedRange,
pub marijuana: Vec<MarijuanaStatusPreference>,
pub relationship_types: Vec<RelationshipTypePreference>,
pub drugs: Vec<DrugStatusPreference>,
pub max_distance: i32,
pub children: Vec<ChildrenStatusPreference>,
pub ethnicities: Vec<EthnicityPreference>,
pub smoking: Vec<SmokingStatusPreference>,
pub education_attained: Vec<EducationAttainedPreference>,
pub family_plans: Vec<i32>,
pub dating_intentions: Vec<DatingIntentionPreference>,
pub politics: Vec<PoliticsPreference>,
pub gender_preferences: Vec<GenderPreferences>,
}Fields§
§gendered_age_ranges: GenderedRange§dealbreakers: Dealbreakers§religions: Vec<ReligionPreference>§drinking: Vec<DrinkingStatusPreference>§gendered_height_ranges: GenderedRange§marijuana: Vec<MarijuanaStatusPreference>§relationship_types: Vec<RelationshipTypePreference>§drugs: Vec<DrugStatusPreference>§max_distance: i32§children: Vec<ChildrenStatusPreference>§ethnicities: Vec<EthnicityPreference>§smoking: Vec<SmokingStatusPreference>§education_attained: Vec<EducationAttainedPreference>§family_plans: Vec<i32>§dating_intentions: Vec<DatingIntentionPreference>§politics: Vec<PoliticsPreference>§gender_preferences: Vec<GenderPreferences>Trait Implementations§
Source§impl Clone for PreferencesResponse
impl Clone for PreferencesResponse
Source§fn clone(&self) -> PreferencesResponse
fn clone(&self) -> PreferencesResponse
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 PreferencesResponse
impl Debug for PreferencesResponse
Source§impl<'de> Deserialize<'de> for PreferencesResponse
impl<'de> Deserialize<'de> for PreferencesResponse
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 JsonSchema for PreferencesResponse
impl JsonSchema for PreferencesResponse
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for PreferencesResponse
impl RefUnwindSafe for PreferencesResponse
impl Send for PreferencesResponse
impl Sync for PreferencesResponse
impl Unpin for PreferencesResponse
impl UnsafeUnpin for PreferencesResponse
impl UnwindSafe for PreferencesResponse
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