pub enum DatingIntentionValue {
LifePartner,
LongTermRelationship,
LongTermOpenToShort,
ShortTermOpenToLong,
ShortTermRelationship,
FiguringOutTheirDatingGoals,
}Variants§
LifePartner
LongTermRelationship
LongTermOpenToShort
ShortTermOpenToLong
ShortTermRelationship
FiguringOutTheirDatingGoals
Implementations§
Trait Implementations§
Source§impl ApiEnum for DatingIntentionValue
impl ApiEnum for DatingIntentionValue
fn to_api_value(&self) -> i8
fn from_string(s: &str) -> Option<Self>
Source§impl Clone for DatingIntentionValue
impl Clone for DatingIntentionValue
Source§fn clone(&self) -> DatingIntentionValue
fn clone(&self) -> DatingIntentionValue
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 DatingIntentionValue
impl Debug for DatingIntentionValue
Source§impl<'de> Deserialize<'de> for DatingIntentionValue
impl<'de> Deserialize<'de> for DatingIntentionValue
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 From<DatingIntentionValue> for DatingIntentionPreference
impl From<DatingIntentionValue> for DatingIntentionPreference
Source§fn from(value: DatingIntentionValue) -> Self
fn from(value: DatingIntentionValue) -> Self
Converts to this type from the input type.
Source§impl From<DatingIntentionValue> for DatingIntentionProfile
impl From<DatingIntentionValue> for DatingIntentionProfile
Source§fn from(value: DatingIntentionValue) -> Self
fn from(value: DatingIntentionValue) -> Self
Converts to this type from the input type.
Source§impl JsonSchema for DatingIntentionValue
impl JsonSchema for DatingIntentionValue
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 moreSource§impl PartialEq for DatingIntentionValue
impl PartialEq for DatingIntentionValue
Source§impl Serialize for DatingIntentionValue
impl Serialize for DatingIntentionValue
impl StructuralPartialEq for DatingIntentionValue
Auto Trait Implementations§
impl Freeze for DatingIntentionValue
impl RefUnwindSafe for DatingIntentionValue
impl Send for DatingIntentionValue
impl Sync for DatingIntentionValue
impl Unpin for DatingIntentionValue
impl UnsafeUnpin for DatingIntentionValue
impl UnwindSafe for DatingIntentionValue
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