Struct atrium_api::app::bsky::graph::defs::Relationship
source · pub struct Relationship {
pub did: Did,
pub followed_by: Option<String>,
pub following: Option<String>,
}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 Relationship
impl Clone for Relationship
source§fn clone(&self) -> Relationship
fn clone(&self) -> Relationship
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 Relationship
impl Debug for Relationship
source§impl<'de> Deserialize<'de> for Relationship
impl<'de> Deserialize<'de> for Relationship
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 Relationship
impl PartialEq for Relationship
source§fn eq(&self, other: &Relationship) -> bool
fn eq(&self, other: &Relationship) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for Relationship
impl Serialize for Relationship
impl Eq for Relationship
impl StructuralPartialEq for Relationship
Auto Trait Implementations§
impl RefUnwindSafe for Relationship
impl Send for Relationship
impl Sync for Relationship
impl Unpin for Relationship
impl UnwindSafe for Relationship
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