Struct atrium_api::app::bsky::actor::defs::ViewerState
source · pub struct ViewerState {
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 muted: Option<bool>,
pub muted_by_list: Option<ListViewBasic>,
}
Expand description
Metadata about the requesting account’s relationship with the subject account. Only has meaningful content for authed requests.
Fields§
§blocked_by: Option<bool>
§blocking: Option<String>
§blocking_by_list: Option<ListViewBasic>
§followed_by: Option<String>
§following: Option<String>
§muted: Option<bool>
§muted_by_list: Option<ListViewBasic>
Trait Implementations§
source§impl Clone for ViewerState
impl Clone for ViewerState
source§fn clone(&self) -> ViewerState
fn clone(&self) -> ViewerState
Returns a copy 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 ViewerState
impl Debug for ViewerState
source§impl<'de> Deserialize<'de> for ViewerState
impl<'de> Deserialize<'de> for ViewerState
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 ViewerState
impl PartialEq for ViewerState
source§fn eq(&self, other: &ViewerState) -> bool
fn eq(&self, other: &ViewerState) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ViewerState
impl Serialize for ViewerState
impl Eq for ViewerState
impl StructuralPartialEq for ViewerState
Auto Trait Implementations§
impl RefUnwindSafe for ViewerState
impl Send for ViewerState
impl Sync for ViewerState
impl Unpin for ViewerState
impl UnwindSafe for ViewerState
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