pub async fn fetch_relationship(&self, user_id: UserId) -> Result<SingleRelationshipResponse> {
        Ok(self
            .client_user_session_auth_type()
            .get(ep!(self, "/users/{}/relationship" user_id))
            .send()
            .await?
            .error_for_status()?
            .json()
            .await?)
    }
/// Fetches your relationship with the given user
Fetches your relationship with the given user
Fetches your relationship with the given user
pub async fn fetch_relationship(&self, user_id: UserId) -> Result<SingleRelationshipResponse> {
        Ok(self
            .client_user_session_auth_type()
            .get(ep!(self, "/users/{}/relationship" user_id))
            .send()
            .await?
            .error_for_status()?
            .json()
            .await?)
    }
pub async fn fetch_relationship ( & self , user_id : UserId ) -> Result < SingleRelationshipResponse > { Ok ( self . client_user_session_auth_type ( ) . get ( ep ! ( self " " user_id ) ) . send ( ) . await ? . error_for_status ( ) ? . json ( ) . await ? ) }
Fetches your relationship with the given user
Fetches your relationship with the given user
&self
user_id
UserId
&self
user_id
UserId