block

Function block 

Source
pub async fn block<T: Into<UserID>>(
    acct: T,
    token: &Token,
) -> Result<Response<TwitterUser>>
Expand description

Block the given account with the authenticated user.

Upon success, the future returned by this function yields the given user.