[−][src]Struct mammut::entities::account::Account
A struct representing an Account.
Fields
acct: String
Equals username
for local users, includes @domain
for remote ones.
avatar: String
URL to the avatar image
avatar_static: String
URL to the avatar static image (gif)
created_at: DateTime<Utc>
The time the account was created.
display_name: String
The account's display name.
followers_count: u64
The number of followers for the account.
following_count: u64
The number of accounts the given account is following.
header: String
URL to the header image.
header_static: String
URL to the header static image (gif).
id: String
The ID of the account.
locked: bool
Boolean for when the account cannot be followed without waiting for approval first.
note: String
Biography of user.
statuses_count: u64
The number of statuses the account has made.
url: String
URL of the user's profile page (can be remote).
username: String
The username of the account.
source: Option<Source>
An extra attribute given from verify_credentials
giving defaults about
a user
moved: Option<Box<Account>>
If the owner decided to switch accounts, new account is in this attribute
Trait Implementations
impl Clone for Account
[src]
fn clone(&self) -> Account
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for Account
[src]
impl<'de> Deserialize<'de> for Account
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl Unpin for Account
impl Send for Account
impl Sync for Account
impl UnwindSafe for Account
impl RefUnwindSafe for Account
Blanket Implementations
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
impl<T> Erased for T
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
U: TryFrom<T>,