pub struct ViewerStateData {
pub activity_subscription: Option<ActivitySubscription>,
pub blocked_by: Option<bool>,
pub blocking: Option<String>,
pub blocking_by_list: Option<ListViewBasic>,
pub followed_by: Option<String>,
pub following: Option<String>,
pub known_followers: Option<KnownFollowers>,
pub muted: Option<bool>,
pub muted_by_list: Option<ListViewBasic>,
}
Available on crate feature
namespace-appbsky
only.Expand description
Metadata about the requesting account’s relationship with the subject account. Only has meaningful content for authed requests.
Fields§
§activity_subscription: Option<ActivitySubscription>
This property is present only in selected cases, as an optimization.
blocked_by: Option<bool>
§blocking: Option<String>
§blocking_by_list: Option<ListViewBasic>
§followed_by: Option<String>
§following: Option<String>
§known_followers: Option<KnownFollowers>
This property is present only in selected cases, as an optimization.
muted: Option<bool>
§muted_by_list: Option<ListViewBasic>
Trait Implementations§
Source§impl Clone for ViewerStateData
impl Clone for ViewerStateData
Source§fn clone(&self) -> ViewerStateData
fn clone(&self) -> ViewerStateData
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 ViewerStateData
impl Debug for ViewerStateData
Source§impl<'de> Deserialize<'de> for ViewerStateData
impl<'de> Deserialize<'de> for ViewerStateData
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 PartialEq for ViewerStateData
impl PartialEq for ViewerStateData
Source§impl Serialize for ViewerStateData
impl Serialize for ViewerStateData
impl Eq for ViewerStateData
impl StructuralPartialEq for ViewerStateData
Auto Trait Implementations§
impl Freeze for ViewerStateData
impl RefUnwindSafe for ViewerStateData
impl Send for ViewerStateData
impl Sync for ViewerStateData
impl Unpin for ViewerStateData
impl UnwindSafe for ViewerStateData
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.