pub async fn member(
        &self,
        guild_id: GuildId,
        user_id: UserId,
    ) -> Result<Option<Arc<CachedMember>>> {
        Ok(self
            .0
            .members
            .lock()
            .await
            .get(&(guild_id, user_id))
            .cloned())
    }
/// Gets a member by guild ID and user ID.
///
/// This is an O(1) operation.
Gets a member by guild ID and user ID.
This is an O(1) operation.
Gets a member by guild ID and user ID . This is an O ( 1 ) operation .
pub async fn member(
        &self,
        guild_id: GuildId,
        user_id: UserId,
    ) -> Result<Option<Arc<CachedMember>>> {
        Ok(self
            .0
            .members
            .lock()
            .await
            .get(&(guild_id, user_id))
            .cloned())
    }
pub async fn member ( & self , guild_id : GuildId , user_id : UserId , ) -> Result < Option < Arc < CachedMember > > > { Ok ( self . 0 . members . lock ( ) . await . get ( & ( guild_id , user_id ) ) . cloned ( ) ) }
Gets a member by guild ID and user ID.
Gets a member by guild ID and user ID .
&self
guild_id
GuildId
user_id
UserId
&self
guild_id
GuildId
user_id
UserId