Enum telegram::schema::InputUser
[−]
pub enum InputUser { inputUserEmpty, inputUserSelf, inputUserContact { user_id: i32, }, inputUserForeign { user_id: i32, access_hash: i64, }, }
Variants
inputUserEmpty
inputUserSelf
inputUserContact
Fields of inputUserContact
user_id: i32 |
inputUserForeign
Fields of inputUserForeign
user_id: i32 | |
access_hash: i64 |
Trait Implementations
impl Debug for InputUser
[src]
impl Serialize for InputUser
fn serialize_to(&self, buffer: &mut Vec<u8>) -> Result<()>
Serialize to the passed buffer.