[−][src]Struct grammers_tl_types::types::User
Fields
is_self: bool
contact: bool
mutual_contact: bool
deleted: bool
bot: bool
bot_chat_history: bool
bot_nochats: bool
verified: bool
restricted: bool
min: bool
bot_inline_geo: bool
support: bool
scam: bool
id: i32
access_hash: Option<i64>
first_name: Option<String>
last_name: Option<String>
username: Option<String>
phone: Option<String>
photo: Option<UserProfilePhoto>
status: Option<UserStatus>
bot_info_version: Option<i32>
restriction_reason: Option<Vec<RestrictionReason>>
bot_inline_placeholder: Option<String>
lang_code: Option<String>
Trait Implementations
impl Clone for User
[src]
impl Debug for User
[src]
impl Deserializable for User
[src]
fn deserialize(buf: &'a mut Cursor<'b>) -> Result<Self, DeserializeError>
[src]
fn from_bytes(buf: &[u8]) -> Result<Self, DeserializeError> where
Self: Sized,
[src]
Self: Sized,
impl From<User> for User
[src]
impl Identifiable for User
[src]
const CONSTRUCTOR_ID: u32
[src]
impl PartialEq<User> for User
[src]
impl Serializable for User
[src]
impl StructuralPartialEq for User
[src]
impl TryFrom<User> for User
[src]
Auto Trait Implementations
impl RefUnwindSafe for User
impl Send for User
impl Sync for User
impl Unpin for User
impl UnwindSafe for User
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,