pub enum RelationshipStatus {
None,
User,
Friend,
Outgoing,
Incoming,
Blocked,
BlockedOther,
}Expand description
Your relationship with the user
Variants§
Trait Implementations§
Source§impl Clone for RelationshipStatus
impl Clone for RelationshipStatus
Source§fn clone(&self) -> RelationshipStatus
fn clone(&self) -> RelationshipStatus
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 RelationshipStatus
impl Debug for RelationshipStatus
Source§impl<'de> Deserialize<'de> for RelationshipStatus
impl<'de> Deserialize<'de> for RelationshipStatus
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 Hash for RelationshipStatus
impl Hash for RelationshipStatus
Source§impl Ord for RelationshipStatus
impl Ord for RelationshipStatus
Source§fn cmp(&self, other: &RelationshipStatus) -> Ordering
fn cmp(&self, other: &RelationshipStatus) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for RelationshipStatus
impl PartialEq for RelationshipStatus
Source§impl PartialOrd for RelationshipStatus
impl PartialOrd for RelationshipStatus
Source§impl Serialize for RelationshipStatus
impl Serialize for RelationshipStatus
impl Copy for RelationshipStatus
impl Eq for RelationshipStatus
impl StructuralPartialEq for RelationshipStatus
Auto Trait Implementations§
impl Freeze for RelationshipStatus
impl RefUnwindSafe for RelationshipStatus
impl Send for RelationshipStatus
impl Sync for RelationshipStatus
impl Unpin for RelationshipStatus
impl UnwindSafe for RelationshipStatus
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