pub struct Info { /* private fields */ }
Expand description
Basic information about the user profile.
Implementations§
Source§impl Info
impl Info
pub fn username(&self) -> &str
Sourcepub fn account_type(&self) -> AccountType
pub fn account_type(&self) -> AccountType
Get a type of the user’s account.
Sourcepub fn media_count(&self) -> u64
pub fn media_count(&self) -> u64
Returns user’s number of media.
Auto Trait Implementations§
impl Freeze for Info
impl RefUnwindSafe for Info
impl Send for Info
impl Sync for Info
impl Unpin for Info
impl UnwindSafe for Info
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