pub struct Contacts {
pub contacts: Vec<Contact>,
pub saved_count: i32,
pub users: Vec<User>,
}Expand description
Generated from:
contacts.contacts#eae87e42 contacts:Vector<Contact> saved_count:int users:Vector<User> = contacts.ContactsFields§
§contacts: Vec<Contact>§saved_count: i32§users: Vec<User>Trait Implementations§
Source§impl Deserializable for Contacts
impl Deserializable for Contacts
Source§fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
Read
Self from buf, advancing its position.Source§fn from_bytes(bytes: &[u8]) -> Result<Self>
fn from_bytes(bytes: &[u8]) -> Result<Self>
Convenience: deserialize from a byte slice.
Source§impl Identifiable for Contacts
impl Identifiable for Contacts
Source§const CONSTRUCTOR_ID: u32 = 0xeae87e42
const CONSTRUCTOR_ID: u32 = 0xeae87e42
The constructor ID as specified in the TL schema.
Source§impl Serializable for Contacts
impl Serializable for Contacts
impl StructuralPartialEq for Contacts
Auto Trait Implementations§
impl Freeze for Contacts
impl RefUnwindSafe for Contacts
impl Send for Contacts
impl Sync for Contacts
impl Unpin for Contacts
impl UnsafeUnpin for Contacts
impl UnwindSafe for Contacts
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more