pub struct RelationshipData {
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§
§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§fn clone(&self) -> RelationshipData
fn clone(&self) -> RelationshipData
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 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
Source§impl PartialEq for RelationshipData
impl PartialEq for RelationshipData
Source§impl Serialize for RelationshipData
impl Serialize for RelationshipData
impl Eq 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 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,
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.