pub enum Connection {
None,
FollowingRequested,
FollowingReceived,
FollowedBy,
Following,
Blocking,
Muting,
}Expand description
Represents the ways a target account can be connected to another account.
Variants§
None
The target account has no relation.
FollowingRequested
The authenticated user has requested to follow the target account.
FollowingReceived
The target account has requested to follow the authenticated user.
FollowedBy
The target account follows the authenticated user.
Following
The authenticated user follows the target account.
Blocking
The authenticated user has blocked the target account.
Muting
The authenticated user has muted the target account.
Trait Implementations§
Source§impl Debug for Connection
impl Debug for Connection
Source§impl<'de> Deserialize<'de> for Connection
impl<'de> Deserialize<'de> for Connection
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
Auto Trait Implementations§
impl Freeze for Connection
impl RefUnwindSafe for Connection
impl Send for Connection
impl Sync for Connection
impl Unpin for Connection
impl UnwindSafe for Connection
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