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>,
pub muted_only_quoteposts: Option<bool>,
pub muted_only_reposts: Option<bool>,
}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>Whether the account is fully muted, directly or via a mutelist. False when the mute is scoped to specific kinds; see mutedOnlyReposts and mutedOnlyQuoteposts.
muted_by_list: Option<ListViewBasic>§muted_only_quoteposts: Option<bool>Whether the account’s quote posts are muted. Scoped mutes are exclusive with muted: this can be true while muted is false. If muted is true, this will be false.
muted_only_reposts: Option<bool>Whether the account’s reposts are muted. Scoped mutes are exclusive with muted: this can be true while muted is false. If muted is true, this will be false.
Trait Implementations§
Source§impl Clone for ViewerStateData
impl Clone for ViewerStateData
Source§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
impl Eq for ViewerStateData
Source§impl PartialEq for ViewerStateData
impl PartialEq for ViewerStateData
Source§impl Serialize for ViewerStateData
impl Serialize 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 UnsafeUnpin 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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.