[−][src]Function egg_mode::user::block
pub async fn block<'_, T: Into<UserID>>(
acct: T,
token: &'_ Token
) -> Result<Response<TwitterUser>>
Block the given account with the authenticated user.
Upon success, the future returned by this function yields the given user.