Enum telegram::schema::EncryptedChat
[−]
pub enum EncryptedChat { encryptedChatEmpty { id: i32, }, encryptedChatWaiting { id: i32, access_hash: i64, date: i32, admin_id: i32, participant_id: i32, }, encryptedChatRequested { id: i32, access_hash: i64, date: i32, admin_id: i32, participant_id: i32, g_a: Vec<u8>, }, encryptedChat { id: i32, access_hash: i64, date: i32, admin_id: i32, participant_id: i32, g_a_or_b: Vec<u8>, key_fingerprint: i64, }, encryptedChatDiscarded { id: i32, }, }
Variants
encryptedChatEmpty
Fields of encryptedChatEmpty
id: i32 |
encryptedChatWaiting
Fields of encryptedChatWaiting
id: i32 | |
access_hash: i64 | |
date: i32 | |
admin_id: i32 | |
participant_id: i32 |
encryptedChatRequested
Fields of encryptedChatRequested
id: i32 | |
access_hash: i64 | |
date: i32 | |
admin_id: i32 | |
participant_id: i32 | |
g_a: Vec<u8> |
encryptedChat
Fields of encryptedChat
id: i32 | |
access_hash: i64 | |
date: i32 | |
admin_id: i32 | |
participant_id: i32 | |
g_a_or_b: Vec<u8> | |
key_fingerprint: i64 |
encryptedChatDiscarded
Fields of encryptedChatDiscarded
id: i32 |
Trait Implementations
impl Debug for EncryptedChat
[src]
impl Serialize for EncryptedChat
fn serialize_to(&self, buffer: &mut Vec<u8>) -> Result<()>
Serialize to the passed buffer.