pub enum BondLabel {
Acquaintance,
Friend,
CloseFriend,
Confidant,
Soulmate,
}Expand description
Friendship-line tier (pure function of bond_score). Serialised snake_case
key is the frontend’s lookup; Chinese display lives in the frontend.
Variants§
Implementations§
Trait Implementations§
impl Copy for BondLabel
Source§impl<'de> Deserialize<'de> for BondLabel
impl<'de> Deserialize<'de> for BondLabel
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 BondLabel
impl StructuralPartialEq for BondLabel
Auto Trait Implementations§
impl Freeze for BondLabel
impl RefUnwindSafe for BondLabel
impl Send for BondLabel
impl Sync for BondLabel
impl Unpin for BondLabel
impl UnsafeUnpin for BondLabel
impl UnwindSafe for BondLabel
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