pub struct RelationshipData {
pub blocked_by: Option<String>,
pub blocked_by_list: Option<String>,
pub blocking: Option<String>,
pub blocking_by_list: Option<String>,
pub did: Did,
pub followed_by: Option<String>,
pub following: Option<String>,
}Available on crate feature
namespace-appbsky only.Expand description
lists the bi-directional graph relationships between one actor (not indicated in the object), and the target actors (the DID included in the object)
Fields§
§blocked_by: Option<String>if the actor is blocked by this DID, contains the AT-URI of the block record
blocked_by_list: Option<String>if the actor is blocked by this DID via a block list, contains the AT-URI of the listblock record
blocking: Option<String>if the actor blocks this DID, this is the AT-URI of the block record
blocking_by_list: Option<String>if the actor blocks this DID via a block list, this is the AT-URI of the listblock record
did: Did§followed_by: Option<String>if the actor is followed by this DID, contains the AT-URI of the follow record
following: Option<String>if the actor follows this DID, this is the AT-URI of the follow record
Trait Implementations§
Source§impl Clone for RelationshipData
impl Clone for RelationshipData
Source§impl Debug for RelationshipData
impl Debug for RelationshipData
Source§impl<'de> Deserialize<'de> for RelationshipData
impl<'de> Deserialize<'de> for RelationshipData
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 RelationshipData
Source§impl PartialEq for RelationshipData
impl PartialEq for RelationshipData
Source§impl Serialize for RelationshipData
impl Serialize for RelationshipData
impl StructuralPartialEq for RelationshipData
Auto Trait Implementations§
impl Freeze for RelationshipData
impl RefUnwindSafe for RelationshipData
impl Send for RelationshipData
impl Sync for RelationshipData
impl Unpin for RelationshipData
impl UnsafeUnpin for RelationshipData
impl UnwindSafe for RelationshipData
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.