pub struct UserFullInfo {
pub is_blocked: bool,
pub can_be_called: bool,
pub has_private_calls: bool,
pub bio: String,
pub share_text: String,
pub group_in_common_count: i32,
pub bot_info: Option<BotInfo>,
}
Expand description
Contains full information about a user (except the full list of profile photos)
Fields§
§is_blocked: bool
True, if the user is blacklisted by the current user
can_be_called: bool
True, if the user can be called
has_private_calls: bool
True, if the user can’t be called due to their privacy settings
bio: String
A short user bio
For bots, the text that is included with the link when users share the bot
group_in_common_count: i32
Number of group chats where both the other user and the current user are a member; 0 for the current user
bot_info: Option<BotInfo>
If the user is a bot, information about the bot; may be null
Trait Implementations§
Source§impl Clone for UserFullInfo
impl Clone for UserFullInfo
Source§fn clone(&self) -> UserFullInfo
fn clone(&self) -> UserFullInfo
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 UserFullInfo
impl Debug for UserFullInfo
Source§impl<'de> Deserialize<'de> for UserFullInfo
impl<'de> Deserialize<'de> for UserFullInfo
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
Auto Trait Implementations§
impl Freeze for UserFullInfo
impl RefUnwindSafe for UserFullInfo
impl Send for UserFullInfo
impl Sync for UserFullInfo
impl Unpin for UserFullInfo
impl UnwindSafe for UserFullInfo
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