pub async fn fetch(cx: &Context, server_id: &Id, user_id: &Id) -> Result<Self> {
        #[cfg(feature = "cache")]
        if let Some(member) = cx.cache.member(&(server_id, user_id).into()).await {
            return Ok(member);
        }

        cx.http_client
            .get(format!("servers/{}/members/{}", server_id, user_id))
            .await
    }
/// Get a member from the cache or API.
Get a member from the cache or API.
Get a member from the cache or API .
pub async fn fetch(cx: &Context, server_id: &Id, user_id: &Id) -> Result<Self> {
        #[cfg(feature = "cache")]
        if let Some(member) = cx.cache.member(&(server_id, user_id).into()).await {
            return Ok(member);
        }
        cx.http_client
            .get(format!("servers/{}/members/{}", server_id, user_id))
            .await
    }
pub async fn fetch ( cx : & Context , server_id : & Id , user_id : & Id ) -> Result < Self > { # [ cfg ( feature " " ) ] if let Some ( member ) = cx . cache . member ( & ( server_id , user_id ) . into ( ) ) . await { return Ok ( member ) ; } cx . http_client . get ( format ! ( " " server_id user_id ) ) . await }
Get a member from the cache or API.
Get a member from the cache or API .
cx
&Context
server_id
&Id
user_id
&Id
cx
&Context
server_id
&Id
user_id
&Id