Struct rust_tdlib::types::UserFullInfo
source · [−]pub struct UserFullInfo { /* private fields */ }Expand description
Contains full information about a user
Implementations
sourceimpl UserFullInfo
impl UserFullInfo
pub fn from_json<S: AsRef<str>>(json: S) -> Result<Self>
pub fn builder() -> UserFullInfoBuilder
pub fn photo(&self) -> &Option<ChatPhoto>
pub fn is_blocked(&self) -> bool
pub fn can_be_called(&self) -> bool
pub fn supports_video_calls(&self) -> bool
pub fn has_private_calls(&self) -> bool
pub fn has_private_forwards(&self) -> bool
pub fn need_phone_number_privacy_exception(&self) -> bool
pub fn bio(&self) -> &String
pub fn description(&self) -> &String
pub fn group_in_common_count(&self) -> i32
pub fn commands(&self) -> &Vec<BotCommand>
Trait Implementations
sourceimpl AsRef<UserFullInfo> for UserFullInfo
impl AsRef<UserFullInfo> for UserFullInfo
sourcefn as_ref(&self) -> &UserFullInfo
fn as_ref(&self) -> &UserFullInfo
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl Clone for UserFullInfo
impl Clone for UserFullInfo
sourcefn clone(&self) -> UserFullInfo
fn clone(&self) -> UserFullInfo
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for UserFullInfo
impl Debug for UserFullInfo
sourceimpl Default for UserFullInfo
impl Default for UserFullInfo
sourcefn default() -> UserFullInfo
fn default() -> UserFullInfo
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for UserFullInfo
impl<'de> Deserialize<'de> for UserFullInfo
sourcefn 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
sourceimpl Serialize for UserFullInfo
impl Serialize for UserFullInfo
Auto Trait Implementations
impl RefUnwindSafe for UserFullInfo
impl Send for UserFullInfo
impl Sync for UserFullInfo
impl Unpin for UserFullInfo
impl UnwindSafe for UserFullInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more