pub struct ImportedContacts {
pub user_ids: Vec<i64>,
pub importer_count: Vec<i32>,
}
Expand description
Represents the result of an importContacts request
Fields§
§user_ids: Vec<i64>
User identifiers of the imported contacts in the same order as they were specified in the request; 0 if the contact is not yet a registered user
importer_count: Vec<i32>
The number of users that imported the corresponding contact; 0 for already registered users or if unavailable
Trait Implementations§
Source§impl Clone for ImportedContacts
impl Clone for ImportedContacts
Source§fn clone(&self) -> ImportedContacts
fn clone(&self) -> ImportedContacts
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ImportedContacts
impl Debug for ImportedContacts
Source§impl Default for ImportedContacts
impl Default for ImportedContacts
Source§fn default() -> ImportedContacts
fn default() -> ImportedContacts
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ImportedContacts
impl<'de> Deserialize<'de> for ImportedContacts
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ImportedContacts
impl PartialEq for ImportedContacts
Source§impl Serialize for ImportedContacts
impl Serialize for ImportedContacts
impl StructuralPartialEq for ImportedContacts
Auto Trait Implementations§
impl Freeze for ImportedContacts
impl RefUnwindSafe for ImportedContacts
impl Send for ImportedContacts
impl Sync for ImportedContacts
impl Unpin for ImportedContacts
impl UnwindSafe for ImportedContacts
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