pub(crate) struct MastodonAccount {
pub(crate) username: String,
pub(crate) domain: String,
}Fields§
§username: StringContain the name of the user without the domain, e.g. carol.
domain: StringContain the domain to which the user is associated, e.g. social.example.com.
Trait Implementations§
Source§impl Clone for MastodonAccount
impl Clone for MastodonAccount
Source§fn clone(&self) -> MastodonAccount
fn clone(&self) -> MastodonAccount
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 MastodonAccount
impl Debug for MastodonAccount
Source§impl<'de> Deserialize<'de> for MastodonAccount
impl<'de> Deserialize<'de> for MastodonAccount
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
Source§impl PartialEq for MastodonAccount
impl PartialEq for MastodonAccount
Source§impl Serialize for MastodonAccount
impl Serialize for MastodonAccount
impl StructuralPartialEq for MastodonAccount
Auto Trait Implementations§
impl Freeze for MastodonAccount
impl RefUnwindSafe for MastodonAccount
impl Send for MastodonAccount
impl Sync for MastodonAccount
impl Unpin for MastodonAccount
impl UnwindSafe for MastodonAccount
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