pub enum RelationshipLabel {
Stranger,
Romantic,
Friend,
Frenemy,
SlowBurn,
}Variants§
Trait Implementations§
Source§impl Clone for RelationshipLabel
impl Clone for RelationshipLabel
Source§fn clone(&self) -> RelationshipLabel
fn clone(&self) -> RelationshipLabel
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RelationshipLabel
Source§impl Debug for RelationshipLabel
impl Debug for RelationshipLabel
Source§impl<'de> Deserialize<'de> for RelationshipLabel
impl<'de> Deserialize<'de> for RelationshipLabel
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 Eq for RelationshipLabel
Source§impl PartialEq for RelationshipLabel
impl PartialEq for RelationshipLabel
Source§fn eq(&self, other: &RelationshipLabel) -> bool
fn eq(&self, other: &RelationshipLabel) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RelationshipLabel
impl Serialize for RelationshipLabel
impl StructuralPartialEq for RelationshipLabel
Auto Trait Implementations§
impl Freeze for RelationshipLabel
impl RefUnwindSafe for RelationshipLabel
impl Send for RelationshipLabel
impl Sync for RelationshipLabel
impl Unpin for RelationshipLabel
impl UnsafeUnpin for RelationshipLabel
impl UnwindSafe for RelationshipLabel
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